Fixes some bugs in initial Yioop configuration, a=chris

Chris Pollett [2012-05-01 05:May:st]
Fixes some bugs in initial Yioop configuration, a=chris
Filename
configs/config.php
data/data.db
locale/en-US/pages/bot.thtml
diff --git a/configs/config.php b/configs/config.php
index 3de22cf21..03ff9aaac 100755
--- a/configs/config.php
+++ b/configs/config.php
@@ -91,7 +91,7 @@ if(file_exists(WORK_DIRECTORY."/profile.php")) {
     }
 } else {
     if((!isset( $_SERVER['SERVER_NAME'])||$_SERVER['SERVER_NAME']!=='localhost')
-        && !defined(NO_LOCAL_CHECK)) {
+        && !defined("NO_LOCAL_CHECK")) {
         echo "SERVICE AVAILABLE ONLY VIA LOCALHOST UNTIL CONFIGURED";
         exit();
     }
diff --git a/data/data.db b/data/data.db
deleted file mode 100644
index 64a0d20f0..000000000
Binary files a/data/data.db and /dev/null differ
diff --git a/locale/en-US/pages/bot.thtml b/locale/en-US/pages/bot.thtml
index db29aa4e7..e69de29bb 100755
--- a/locale/en-US/pages/bot.thtml
+++ b/locale/en-US/pages/bot.thtml
@@ -1,5 +0,0 @@
-<h1>Hi there</h1>
-& it's good to hear from you
-<pre>
-&lt;p&gt;
-</pre>
\ No newline at end of file
ViewGit