some cleanup
This commit is contained in:
parent
b3bd8a0755
commit
6f2ae4a40c
2 changed files with 9 additions and 9 deletions
|
|
@ -1,8 +1,4 @@
|
|||
[production]
|
||||
// Error settings
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
|
||||
[general]
|
||||
// Bootstrap
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
|
|
@ -19,6 +15,10 @@ db.password = pw
|
|||
db.dbname = fiktivkod
|
||||
db.port = 4401
|
||||
|
||||
[production : general]
|
||||
// Error settings
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
|
||||
[development : production]
|
||||
// Error settings
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
<?php
|
||||
|
||||
defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
|
||||
|
||||
defined('APPLICATION_ENV') || define('APPLICATION_ENV',(getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
defined('APPLICATION_PATH') ||
|
||||
define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
|
||||
|
||||
defined('APPLICATION_ENV') ||
|
||||
define('APPLICATION_ENV',(getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
APPLICATION_PATH . '/../library',
|
||||
get_include_path(),
|
||||
)));
|
||||
|
||||
|
||||
// Zend_Application
|
||||
require_once 'Zend/Application.php';
|
||||
|
||||
|
|
|
|||
Reference in a new issue