aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam McLoughlin <hexxeh@hexxeh.net>2011-07-27 22:40:22 +0100
committerLiam McLoughlin <hexxeh@hexxeh.net>2011-07-27 22:40:22 +0100
commit5af0df843f05f6f1650ccb63498741431bb9d58a (patch)
tree75487bb61aa8e6787b59a94415d3d41aba785478 /client.php
parentFix broken shell filter (diff)
downloadgentoaster-5af0df843f05f6f1650ccb63498741431bb9d58a.tar.gz
gentoaster-5af0df843f05f6f1650ccb63498741431bb9d58a.tar.bz2
gentoaster-5af0df843f05f6f1650ccb63498741431bb9d58a.zip
Making everything Zend compliant again
Diffstat (limited to 'client.php')
-rw-r--r--client.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/client.php b/client.php
index 56313ae..2245f61 100644
--- a/client.php
+++ b/client.php
@@ -21,8 +21,13 @@
echo "Job sent, handle was ".$handle." - hash ".$handlehash."\n";
- $db = new mysqli(MYSQL_HOSTNAME, MYSQL_USERNAME,
- MYSQL_PASSWORD, MYSQL_DATABASE);
+ $db = new mysqli(
+ MYSQL_HOSTNAME,
+ MYSQL_USERNAME,
+ MYSQL_PASSWORD,
+ MYSQL_DATABASE
+ );
+
if (mysqli_connect_errno()) {
die("Could not connect to database ".mysqli_connect_error());
}