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 8bcdede83f587cbfd42abe44f299364741a6680b..344d99eea479c71257f3f5e8d65aa1f0cef259fc 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 51aa24dfb9980d719b2634500f0f8ddcf7add429..00014088760a01c0fdd4ace5ca7c80e642631d52 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();