<?php
// testing.php - this file can be deleted if you know it's not needed
if (version_compare(PHP_VERSION, '5.3.0') == -1)
exit('Sorry. PHP must be greater than 5.3.0.');
if (!config('testing')) {
include "mysql.php";
_mysql(); // initialize
if (config('dbtemporary'))
config('sitename',config('sitename') . " TEMPORARY MODE");
}
else {
if (!defined('SALT2')) define('SALT2',''); // UGH!
include "nomysql.php";
dbstart();
config('sitename',config('sitename') . " READONLY MODE");
}
?>