Development

Changeset 5017

You must first sign up to be able to contribute.

Changeset 5017

Show
Ignore:
Timestamp:
09/09/07 18:12:23 (3 years ago)
Author:
Garfield-fr
Message:

fix typo

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfProjectExportPlugin/data/tasks/sfPakeExport.php

    r4984 r5017  
    3838                     ); 
    3939                      
    40     if(count($opts) > 0) 
     40    if (count($opts) > 0) 
    4141    { 
    42         foreach($opts AS $key) 
     42        foreach ($opts AS $key) 
    4343        { 
    4444            $options[$key] = true; 
     
    6161     
    6262    // Delete cache content 
    63     if(!$options['cache']) 
     63    if (!$options['cache']) 
    6464    { 
    6565        pake_echo_action('project-export', 'Delete cache folder content'); 
     
    6969     
    7070    // Delete all files into the uploads dir 
    71     if(!$options['uploads']) 
     71    if (!$options['uploads']) 
    7272    { 
    7373        pake_echo_action('project-export', 'Delete uploads folder content'); 
     
    7777     
    7878    // Delete all files and fixtures dir 
    79     if(!$options['fixtures']) 
     79    if (!$options['fixtures']) 
    8080    { 
    8181        $sf_fixtures_dir = $sf_export_path . '/data/fixtures'; 
    82         if(is_dir($sf_fixtures_dir)) 
     82        if (is_dir($sf_fixtures_dir)) 
    8383        { 
    8484            pake_echo_action('project-export', 'Delete fixtures folder'); 
     
    8989     
    9090    // Delete doc dir 
    91     if(!$options['doc']) 
     91    if (!$options['doc']) 
    9292    { 
    9393        pake_echo_action('project-export', 'Delete doc folder'); 
     
    9898     
    9999    // Delete test dir 
    100     if(!$options['test']) 
     100    if (!$options['test']) 
    101101    { 
    102102        pake_echo_action('project-export', 'Delete test folder'); 
     
    107107     
    108108    // Delete file symfony and symfony.php 
    109     if(!$options['command']) 
     109    if (!$options['command']) 
    110110    { 
    111         if(file_exists($sf_export_path . '/symfony')) 
     111        if (file_exists($sf_export_path . '/symfony')) 
    112112        { 
    113113            pake_echo_action('project-export', 'Delete symfony file'); 
     
    115115        } 
    116116     
    117         if(file_exists($sf_export_path . '/symfony.php')) 
     117        if (file_exists($sf_export_path . '/symfony.php')) 
    118118        { 
    119119            pake_echo_action('project-export', 'Delete symfony.php file'); 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.