Reverted the testing modifications.

pull/202/head
Ruslan Baidan 2019-09-06 14:30:15 +02:00
parent e83827ab88
commit f9cc0f1ec1
No known key found for this signature in database
GPG Key ID: 4B7724C136BF1D89
2 changed files with 1 additions and 5 deletions

View File

@ -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'];

View File

@ -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));