Update jcryption.lnk.php
This commit is contained in:
parent
79aa5cdd7d
commit
b639d9209f
|
@ -1,3 +1,22 @@
|
|||
<?php
|
||||
require_once("./vendor/jCryption/sqAES.php");
|
||||
require_once("./vendor/jCryption/sJCryption.php");
|
||||
|
||||
if(!function_exists("jcryption_load")) {
|
||||
function jcryption_load() {
|
||||
$required_files = array(
|
||||
"jCryption/sqAES",
|
||||
"jCryption/JCryption"
|
||||
);
|
||||
foreach($required_files as $file) {
|
||||
$inc_file = "./vendor/" . $file . ".php";
|
||||
if(file_exists($inc_file)) {
|
||||
include($inc_file);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(!function_exists("jcryption_get_code")) {
|
||||
function jcryption_get_code() {
|
||||
return "JCryption::decrypt();";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user