';
echo $extension . ' is loaded and ready to rock-n-roll! Good 2 Go!';
echo '
';
else :
echo '';
echo '
';
echo '
'. $extension . '
';
echo '';
echo '
';
echo $extension . ' is NOT loaded! Please install it before proceeding';
if($extension == "PDO_SQLITE") :
echo '
If you are on Windows, please uncomment this line in php.ini: ;extension=php_pdo_sqlite.dll
If you are on Ununtu, please install php5.3-sqlite or php7-sqlite depending on your version of PHP, then restart PHP service';
endif;
echo '
';
endif;
}
function checkFunction($function) {
if (function_exists($function)) :
echo '';
echo '
';
echo '
'. $function . '
';
echo '';
echo '
';
echo $function . ' is loaded and ready to rock-n-roll! Good 2 Go!';
if($function == "MAIL") :
echo '
**Please make sure you can send email prior to installing as this is needed for password resets**';
endif;
echo '
';
else :
echo '';
echo '
';
echo '
'. $function . '
';
echo '';
echo '
';
echo $function . ' is NOT loaded! Please install it before proceeding';
if($function == "MAIL") :
echo '
**If you do not want to use password resets, this is okay not being installed** EDIT LINE 31 on user.php to "false" [const use_mail = false]';
endif;
echo '
';
endif;
}
function getFilePermission($file) {
if (file_exists($file)) :
$length = strlen(decoct(fileperms($file)))-3;
if($file{strlen($file)-1}=='/') :
$name = "Folder";
else :
$name = "File";
endif;
if (is_writable($file)) :
echo '
Check Requirements & Permissions
';
echo '
';
echo '
PHP Info
';
echo '';
echo '
';
echo phpinfo();
echo '
';
?>