Reverted the testing modifications.
parent
e83827ab88
commit
f9cc0f1ec1
|
@ -5,7 +5,7 @@
|
||||||
*
|
*
|
||||||
* @see https://github.com/zendframework/ZFTool
|
* @see https://github.com/zendframework/ZFTool
|
||||||
*/
|
*/
|
||||||
$env = getenv('APP_ENV') ?: 'dev';
|
$env = getenv('APP_ENV') ?: 'production';
|
||||||
$appConfDir = getenv('APP_CONF_DIR') ?? '';
|
$appConfDir = getenv('APP_CONF_DIR') ?? '';
|
||||||
|
|
||||||
$confPaths = ['config/autoload/{,*.}{global,local}.php'];
|
$confPaths = ['config/autoload/{,*.}{global,local}.php'];
|
||||||
|
|
|
@ -5,10 +5,6 @@ use Zend\Mvc\Application;
|
||||||
|
|
||||||
chdir(dirname(__DIR__));
|
chdir(dirname(__DIR__));
|
||||||
|
|
||||||
ini_set('display_errors', 1);
|
|
||||||
ini_set('display_startup_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
|
|
||||||
// Decline static file requests back to the PHP built-in webserver
|
// Decline static file requests back to the PHP built-in webserver
|
||||||
if (php_sapi_name() === 'cli-server') {
|
if (php_sapi_name() === 'cli-server') {
|
||||||
$path = realpath(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
|
$path = realpath(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
|
||||||
|
|
Loading…
Reference in New Issue