prevent to create default js label dir, if doesn't exist
This commit is contained in:
committed by
Alexandre Rosenfeld
parent
0651e049c6
commit
2f61264f10
@@ -152,6 +152,9 @@ class Translation extends BaseTranslation {
|
|||||||
|
|
||||||
if( ! is_dir(dirname($cacheFile)) )
|
if( ! is_dir(dirname($cacheFile)) )
|
||||||
G::mk_dir(dirname($cacheFile));
|
G::mk_dir(dirname($cacheFile));
|
||||||
|
|
||||||
|
if( ! is_dir(dirname($cacheFileJS)) )
|
||||||
|
G::mk_dir(dirname($cacheFileJS));
|
||||||
|
|
||||||
$f = fopen( $cacheFile , 'w+');
|
$f = fopen( $cacheFile , 'w+');
|
||||||
fwrite( $f , "<?php\n" );
|
fwrite( $f , "<?php\n" );
|
||||||
|
|||||||
Reference in New Issue
Block a user