Development

Changeset 12029

You must first sign up to be able to contribute.

Changeset 12029

Show
Ignore:
Timestamp:
10/07/08 14:06:31 (2 months ago)
Author:
KRavEN
Message:

Modified createPartialFile method to also create the partials in the cache directory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfExtjsThemePlugin/trunk/lib/sfExtjsPropelAdminGenerator.php

    r12003 r12029  
    5757        chmod($partial,0666); 
    5858      } 
    59     } 
     59 
     60    } 
     61    $partial = sfConfig::get('sf_module_cache_dir').DIRECTORY_SEPARATOR.'auto'.ucfirst($this->getModuleName()).DIRECTORY_SEPARATOR.sfConfig::get('sf_app_template_dir_name').DIRECTORY_SEPARATOR.$partialName.'.php'; 
     62    file_put_contents($partial,$contents); 
     63    chmod($partial,0666); 
    6064  } 
    6165