Archived
1
0
Fork 0

some cleanup

This commit is contained in:
H Hautakoski 2010-08-28 17:15:33 +02:00
parent b3bd8a0755
commit 6f2ae4a40c
2 changed files with 9 additions and 9 deletions

View file

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

View file

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