mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Disable DB access since there's no DB yet; add environmental site status variables
This commit is contained in:
parent
c48cdf9b10
commit
05a125258e
3 changed files with 5 additions and 1 deletions
|
@ -16,3 +16,5 @@ slowlog = /var/log/local/php-fpm-slow.log
|
|||
catch_workers_output = yes
|
||||
|
||||
php_admin_value[include_path] = /standardebooks.org/web/lib
|
||||
|
||||
env[SITE_STATUS] = "live"
|
||||
|
|
|
@ -16,3 +16,5 @@ slowlog = /var/log/local/php-fpm-slow.log
|
|||
catch_workers_output = yes
|
||||
|
||||
php_admin_value[include_path] = /standardebooks.org/web/lib:/standardebooks.org/web/vendor
|
||||
|
||||
env[SITE_STATUS] = "dev"
|
||||
|
|
|
@ -25,4 +25,4 @@ set_exception_handler(function(Throwable $ex): void{
|
|||
throw $ex; // Send the exception back to PHP for its usual logging routine.
|
||||
});
|
||||
|
||||
$GLOBALS['DbConnection'] = new DbConnection(DATABASE_DEFAULT_DATABASE, DATABASE_DEFAULT_HOST);
|
||||
#$GLOBALS['DbConnection'] = new DbConnection(DATABASE_DEFAULT_DATABASE, DATABASE_DEFAULT_HOST);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue