Cookie: ".get_session('u_hash')."
Test: ".$test); // Write $file_hash to database SQL_QUERY_ESC("UPDATE `"._MYSQL_PREFIX."_config` SET file_hash='%s' WHERE config=0 LIMIT 1", array($file_hash), __FILE__, __LINE__); // Is the .htaccess file there? if (!FILE_READABLE(PATH."inc/.secret/.htaccess")) { // Also create .htaccess file $fp = @fopen(PATH."inc/.secret/.htaccess", 'w') or mxchange_die("Cannot write to .htaccess file!"); if ($fp != false) { // Add deny line to file fwrite($fp, "Deny from all"); // Close the file fclose($fp); } // END - if } // END - if // Also update configuration $_CONFIG['secret_key'] = $secretKey; unset($secretKey); $_CONFIG['file_hash'] = $file_hash; unset($file_hash); } // END - if } // END - if // ?>