reasonableframework/helper/jcryption.lnk.php

23 lines
460 B
PHP

<?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();";
}
}