File: /home/httpd/html/nyloncams.com/public_html/admin/checkDependancies.php
<?
if(!file_exists($php_path)) {
$loadErrors[] = 'PHP CLI BINARY: Missing or incorrect path. Please correct this in admin area settings tab.';
}
if(@isChmod($basepath.'/admin/scripts') != '777') {
$loadErrors[] = 'CHMOD: '.$basepath.'/admin/scripts directory not writable! Please chmod it to 777.';
}
if(@file_exists("$basepath/upgrade.php")) {
$loadErrors[] = 'DELETE: Please delete upgrade.php';
}
if(@isChmod($cache_path) != '777') {
$loadErrors[] = 'CHMOD: '.$cache_path.' directory not writable! Please chmod it to 777.';
}
if($admin_password == 'admin') {
$loadErrors[] = "Please set your admin password in admin/config.php (via ftp/ssh).";
}
if($admin_email == '') {
$loadErrors[] = "Please set your admin email in admin area settings tab.";
}
$sqlMode = dbQuery("SELECT @@sql_mode AS sql_mode",false);
if(stripos($sqlMode[0]['sql_mode'],'STRICT_TRANS_TABLES') !== false) {
$loadErrors[] = "Please disable STRICT_TRANS_TABLES in MySQL. This is action is critical to operation of almost all script functions. It will be found in your my.cnf file.";
}