Output the shimmie config on failure.
This commit is contained in:
parent
6c8d519859
commit
491069540e
2 changed files with 3 additions and 1 deletions
|
@ -28,6 +28,8 @@ script: php tests/all_tests.php -d $DB
|
|||
after_failure:
|
||||
- sudo cat /etc/nginx/sites-enabled/default
|
||||
- sudo cat /var/log/nginx/error.log
|
||||
- sudo cat data/config/shimmie.conf.php
|
||||
- sudo cat data/config/extensions.conf.php
|
||||
- sudo cat /var/log/php5-fpm.log
|
||||
- sudo cat /var/log/mysql.log
|
||||
- sudo cat /var/log/mysql.err
|
||||
|
|
|
@ -41,7 +41,7 @@ $files = array_merge(zglob("core/*.php"), zglob("ext/{".ENABLED_EXTS."}/main.php
|
|||
foreach($files as $filename) {
|
||||
require_once $filename;
|
||||
}
|
||||
|
||||
|
||||
// connect to the database
|
||||
$database = new Database();
|
||||
$config = new DatabaseConfig($database);
|
||||
|
|
Reference in a new issue