/* check if some variables are set in the config file, else set defaults */
if(!isset($EmailName))
- $EmailName="[DoKo] ";
+ $EmailName='[DoKo] ';
if(isset($EMAIL_REPLY))
{
- ini_set("sendmail_from",$EMAIL_REPLY);
+ ini_set('sendmail_from',$EMAIL_REPLY);
}
if(!isset($ADMIN_NAME))
{
output_header();
- echo "<h1>Setup not completed</h1>";
- echo "You need to set \$ADMIN_NAME in config.php.";
+ echo '<h1>Setup not completed</h1>';
+ echo 'You need to set $ADMIN_NAME in config.php.';
output_footer();
exit();
}
echo "Database error, can't connect... Please wait a while and try again. ".
"If the problem doesn't go away feel free to contact $ADMIN_NAME at $ADMIN_EMAIL.";
else if ($DBopen == -2)
- echo "Wrong database version, please update your database using the update.php script.";
+ echo 'Wrong database version, please update your database using the update.php script.';
output_footer();
exit();