summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndřej Žára <ondras@zarovi.cz>2015-03-24 08:50:13 +0100
committerOndřej Žára <ondras@zarovi.cz>2015-03-24 08:50:13 +0100
commitf5500e7b4bb07ddb9092965a5e11af295c743b51 (patch)
tree83ffc92b9596542059ed3eb8c5dd7641145d451c
parent830efeff2142c3d4f9040c056f649b4f933c0e95 (diff)
parent633ce14445140291b20a6a9df26246dd087e43d0 (diff)
downloadwwwsqldesigner-f5500e7b4bb07ddb9092965a5e11af295c743b51.zip
wwwsqldesigner-f5500e7b4bb07ddb9092965a5e11af295c743b51.tar.gz
wwwsqldesigner-f5500e7b4bb07ddb9092965a5e11af295c743b51.tar.bz2
Merge pull request #8 from sierrafayad/master
Undefined Function
-rw-r--r--backend/php-mysql/index.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/backend/php-mysql/index.php b/backend/php-mysql/index.php
index 03bbefc..2227eb9 100644
--- a/backend/php-mysql/index.php
+++ b/backend/php-mysql/index.php
@@ -23,10 +23,9 @@
}
$res = mysqli_select_db($this->getLink(), DB);
if (!$res){
- // try to create the DataBase and table
- if(!$this->setup_first_time()){
- return false;
- }
+ // Data Base Not configured
+ echo "You have to configure the DataBase";
+ return false;
}
return true;
}