Development

Changeset 6097

You must first sign up to be able to contribute.

Changeset 6097

Show
Ignore:
Timestamp:
11/18/07 09:30:48 (1 year ago)
Author:
fabien
Message:

fixed properties.ini in tasks

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/plugins/sfPropelPlugin/lib/task/sfPropelGenerateCrudTask.class.php

    r5504 r6097  
    7777 
    7878    $constants = array( 
    79       'PROJECT_NAME' => isset($properties['name']) ? $properties['name'] : 'symfony', 
     79      'PROJECT_NAME' => isset($properties['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 
    8080      'APP_NAME'     => $arguments['application'], 
    8181      'MODULE_NAME'  => $arguments['module'], 
    8282      'MODEL_CLASS'  => $arguments['model'], 
    83       'AUTHOR_NAME'  => isset($properties['author']) ? $properties['author'] : 'Your name here', 
     83      'AUTHOR_NAME'  => isset($properties['symfony']['author']) ? $properties['symfony']['author'] : 'Your name here', 
    8484    ); 
    8585 
  • trunk/lib/plugins/sfPropelPlugin/lib/task/sfPropelInitAdminTask.class.php

    r5504 r6097  
    6464 
    6565    $constants = array( 
    66       'PROJECT_NAME' => isset($properties['name']) ? $properties['name'] : 'symfony', 
     66      'PROJECT_NAME' => isset($properties['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 
    6767      'APP_NAME'     => $arguments['application'], 
    6868      'MODULE_NAME'  => $arguments['module'], 
    6969      'MODEL_CLASS'  => $arguments['model'], 
    70       'AUTHOR_NAME'  => isset($properties['author']) ? $properties['author'] : 'Your name here', 
     70      'AUTHOR_NAME'  => isset($properties['symfony']['author']) ? $properties['symfony']['author'] : 'Your name here', 
    7171      'THEME'        => $options['theme'], 
    7272    ); 
  • trunk/lib/plugins/sfPropelPlugin/lib/task/sfPropelInitCrudTask.class.php

    r5504 r6097  
    6767 
    6868    $constants = array( 
    69       'PROJECT_NAME' => isset($properties['name']) ? $properties['name'] : 'symfony', 
     69      'PROJECT_NAME' => isset($properties['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 
    7070      'APP_NAME'     => $arguments['application'], 
    7171      'MODULE_NAME'  => $arguments['module'], 
    7272      'MODEL_CLASS'  => $arguments['model'], 
    73       'AUTHOR_NAME'  => isset($properties['author']) ? $properties['author'] : 'Your name here', 
     73      'AUTHOR_NAME'  => isset($properties['symfony']['author']) ? $properties['symfony']['author'] : 'Your name here', 
    7474    ); 
    7575 
  • trunk/lib/task/generator/sfGenerateBatchTask.class.php

    r4743 r6097  
    7777 
    7878    $constants = array( 
    79       'PROJECT_NAME' => isset($properties['name']) ? $properties['name'] : 'symfony', 
     79      'PROJECT_NAME' => isset($properties['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 
    8080      'APP_NAME'     => $app, 
    8181      'BATCH_NAME'   => $batch, 
  • trunk/lib/task/generator/sfGenerateControllerTask.class.php

    r4743 r6097  
    7070 
    7171    $constants = array( 
    72       'PROJECT_NAME' => isset($properties['name']) ? $properties['name'] : 'symfony', 
     72      'PROJECT_NAME' => isset($properties['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 
    7373      'APP_NAME'        => $app, 
    7474      'CONTROLLER_NAME' => $controller, 
  • trunk/lib/task/generator/sfGenerateModuleTask.class.php

    r4743 r6097  
    7878 
    7979    $constants = array( 
    80       'PROJECT_NAME' => isset($properties['name']) ? $properties['name'] : 'symfony', 
     80      'PROJECT_NAME' => isset($properties['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 
    8181      'APP_NAME'     => $app, 
    8282      'MODULE_NAME'  => $module, 
    83       'AUTHOR_NAME'  => isset($properties['author']) ? $properties['author'] : 'Your name here', 
     83      'AUTHOR_NAME'  => isset($properties['symfony']['author']) ? $properties['symfony']['author'] : 'Your name here', 
    8484    ); 
    8585