diff options
author | Philip Nicolcev <frugen@gmail.com> | 2016-04-30 15:46:28 -0400 |
---|---|---|
committer | Philip Nicolcev <frugen@gmail.com> | 2016-04-30 15:46:28 -0400 |
commit | bb824fabf6cb01d1a2581f4d93926986b6f3bb4c (patch) | |
tree | 363d133610eda6ef060a4d2d5bb31a65dadf3034 /chat/install.php | |
parent | 3716716f1bc45ab5962ab53393e8296ea6a13bda (diff) | |
parent | 6a4c92984fbe42e4633a6a65792847973f7d36da (diff) | |
download | AJAX-Chat-origin/smf.zip AJAX-Chat-origin/smf.tar.gz AJAX-Chat-origin/smf.tar.bz2 |
Merge remote-tracking branch 'origin' into smforigin/smf
Conflicts:
chat/lib/custom.php
Diffstat (limited to 'chat/install.php')
-rw-r--r-- | chat/install.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chat/install.php b/chat/install.php index fd19e1b..ac579a3 100644 --- a/chat/install.php +++ b/chat/install.php @@ -9,6 +9,7 @@ // Show all errors: error_reporting(E_ALL); +ini_set('display_errors', 1); // Remember to set up the config file to point to your database: file_exists('lib/config.php') or die('Failed to load lib/config.php. Did you remember to create a config file based on config.php.example?'); @@ -31,8 +32,7 @@ class CustomAJAXChatInstaller extends CustomAJAXChatInterface { $lines = file(AJAX_CHAT_PATH.'chat.sql'); // Stop if an error occurs: if(!$lines) { - echo 'Failed to load queries from file (chat.sql).'; - die(); + die('Failed to load queries from file (chat.sql).'); } foreach($lines as $line) { if(empty($line)) { @@ -77,4 +77,3 @@ $ajaxChatInstaller = new CustomAJAXChatInstaller(); // Create the database tables: $ajaxChatInstaller->createDataBaseTables(); -?>
\ No newline at end of file |