Skip to content

Commit

Permalink
mmh.. why does this always happen after you release.. - adding auto c…
Browse files Browse the repository at this point in the history
…reate for compile directory..

git-svn-id: http://svn.php.net/repository/pear/packages/HTML_Template_Flexy/trunk@155274 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
roojs committed Apr 3, 2004
1 parent fdca5eb commit 85fd5cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Flexy.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,11 @@ function compile( $file )



if( !@is_dir($compileDest) || !is_writeable($compileDest)) {
require_once 'System.php';

System::mkdir(array('-p',$compileDest));
}
if( !@is_dir($compileDest) || !is_writeable($compileDest)) {
PEAR::raiseError( "can not write to 'compileDir', which is <b>'$compileDest'</b><br>".
"Please give write and enter-rights to it",
Expand Down

0 comments on commit 85fd5cf

Please sign in to comment.