replaces some more " with '
authorArun Persaud <arun@nubati.net>
Thu, 20 Sep 2012 05:53:28 +0000 (22:53 -0700)
committerArun Persaud <arun@nubati.net>
Thu, 20 Sep 2012 05:53:28 +0000 (22:53 -0700)
include/functions.php
index.php

index 8bcdede..344d99e 100644 (file)
@@ -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();
     }
index 51aa24d..0001408 100644 (file)
--- 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();