Development

Changeset 7462

You must first sign up to be able to contribute.

Changeset 7462

Show
Ignore:
Timestamp:
02/12/08 00:00:07 (10 months ago)
Author:
dwhittle
Message:

dwhittle: fixed controller generation (for prod/dev)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dwhittle/1.1/lib/task/generator/sfGenerateAppTask.class.php

    r7454 r7462  
    103103      'APP_NAME'    => $app, 
    104104      'ENVIRONMENT' => 'prod', 
    105       'IS_DEBUG'    => 'true', 
     105      'IS_DEBUG'    => 'false', 
    106106    )); 
    107107 
     
    109109      'APP_NAME'    => $app, 
    110110      'ENVIRONMENT' => 'dev', 
    111       'IS_DEBUG'    => 'false', 
     111      'IS_DEBUG'    => 'true', 
    112112    )); 
    113113 
  • branches/dwhittle/1.1/lib/task/generator/skeleton/app/web/index.php

    r7310 r7462  
    33define('SF_ROOT_DIR',    realpath(dirname(__FILE__).'/..')); 
    44define('SF_APP',         '##APP_NAME##'); 
    5 define('SF_ENVIRONMENT', 'prod'); 
    6 define('SF_DEBUG',       false); 
     5define('SF_ENVIRONMENT', '##ENVIRONMENT##'); 
     6define('SF_DEBUG',       ##IS_DEBUG##); 
    77 
    88require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');