Changeset 7463
- Timestamp:
- 02/12/08 00:09:17 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/task/generator/sfGenerateAppTask.class.php
r7429 r7463 4 4 * This file is part of the symfony package. 5 5 * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 6 * 7 7 * For the full copyright and license information, please view the LICENSE 8 8 * file that was distributed with this source code. … … 104 104 'APP_NAME' => $app, 105 105 'ENVIRONMENT' => 'prod', 106 'IS_DEBUG' => ' true',106 'IS_DEBUG' => 'false', 107 107 )); 108 108 … … 110 110 'APP_NAME' => $app, 111 111 'ENVIRONMENT' => 'dev', 112 'IS_DEBUG' => ' false',112 'IS_DEBUG' => 'true', 113 113 )); 114 114 branches/1.1/lib/task/generator/skeleton/app/web/index.php
r1415 r7463 3 3 define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/..')); 4 4 define('SF_APP', '##APP_NAME##'); 5 define('SF_ENVIRONMENT', ' prod');6 define('SF_DEBUG', false);5 define('SF_ENVIRONMENT', '##ENVIRONMENT##'); 6 define('SF_DEBUG', ##IS_DEBUG##); 7 7 8 8 require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');