summaryrefslogtreecommitdiffstats
path: root/include/functions.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2012-09-19 22:49:08 -0700
committerArun Persaud <arun@nubati.net>2012-09-19 22:50:25 -0700
commit29c87287965ad3b88ffd49419d7a7423feda00fa (patch)
treeab2208241b25108908a14800fecb976afc685747 /include/functions.php
parentf3069376c510ac7dfd57d801004c5657a07fdca6 (diff)
downloade-DoKo-29c87287965ad3b88ffd49419d7a7423feda00fa.tar.gz
e-DoKo-29c87287965ad3b88ffd49419d7a7423feda00fa.tar.bz2
e-DoKo-29c87287965ad3b88ffd49419d7a7423feda00fa.zip
better message when working on the database or having edoko offline for other reasons.
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index 84a0fcc..8bcdede 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -57,7 +57,8 @@ function config_check()
output_header();
echo "<h1>Setup not completed</h1>";
echo "You need to set \$DB_work in config.php. ".
- "If this is set to 1, the game will be suspended and one can work safely on the database.".
+ "If this is set to anything else than 0, the game will be suspended and one can work safely on the database. ".
+ "A message will be displayed that it will probably take about N minutes, with N being the number \$DB_work is set to. ".
"The default should be 0 for the game to work.";
output_footer();
exit();
@@ -65,7 +66,9 @@ function config_check()
if($DB_work)
{
output_header();
- echo "Working on the database...please check back later.";
+ echo '<div class="WIP">'.
+ _("Working on some aspect of e-DoKo... This will probably take max. $DB_work minutes. It could be over in a few seconds too though ;)").
+ '</div>';
output_footer();
exit();
}