addMessage("
There is currently a problem with your mysql settings, please double check and try again!
");
$X->assign('title','INSTALLING');
list($is_installed) = (!mysql_errno());
if (($is_installed > 1) ? 1 : 0)
{
header("Location: index.php?page=index&msg=".base64_encode("#CDCDCD|#000000|Already installed, thank you!"));
exit();
}
if (!is_writable($config['template_cache_dir']) || !is_readable($config['template_cache_dir']))
{
print "Installation Note:
";
print "Please make sure you do the following:
";
print "chmod 777 config.php
";
print "chmod 777 ".$config['template_cache_dir']."
";
print "Then click here.
";
exit();
}
include("include/readConf.class.php");
$c = new ReadConf('config.php');
$c->getVars();
$X->assign('installDesc',$c->comments);
$X->assign('installConfig',$c->variables);
?>