summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/functions.php8
-rw-r--r--index.php2
2 files changed, 5 insertions, 5 deletions
diff --git a/include/functions.php b/include/functions.php
index 8bcdede..344d99e 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -30,16 +30,16 @@ function config_check()
/* 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();
}
diff --git a/index.php b/index.php
index 51aa24d..0001408 100644
--- a/index.php
+++ b/index.php
@@ -45,7 +45,7 @@ if($DBopen<0)
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();