|
|
|
|
@ -12,7 +12,9 @@ class home_ctrl { |
|
|
|
|
|
|
|
|
|
public function op_cache() { |
|
|
|
|
if (!opcache_get_status()) { |
|
|
|
|
echo "Op-Cache NOT Enabled!!!"; |
|
|
|
|
echo "Op-Cache NOT Enabled!!! Must be run only by PHP_FPM not CLI Directly..." . PHP_EOL; |
|
|
|
|
echo "For PHP-FPM add to php.ini: opcache.enable=1" . PHP_EOL; |
|
|
|
|
echo "And: opcache.preload=/var/www/tts_project/op_cache.php" . PHP_EOL; |
|
|
|
|
exit(1); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -42,6 +44,7 @@ class home_ctrl { |
|
|
|
|
$all_files[] = $dir . "router.php"; |
|
|
|
|
$all_files[] = $dir . "security.php"; |
|
|
|
|
$all_files[] = $dir . "tag_matches.php"; |
|
|
|
|
$all_files[] = $dir . "validator.php"; |
|
|
|
|
$all_files[] = $dir . "view.php"; |
|
|
|
|
$all_files[] = $dir . "database/help_load.php"; |
|
|
|
|
$all_files[] = $dir . "database/help_save.php"; |
|
|
|
|
|