Test if direcory exist
This commit is contained in:
parent
389eddd467
commit
dcc8225295
@ -78,4 +78,10 @@ elseif(isset($opts->install))
|
||||
//Set scripts executable
|
||||
passthru('chmod -v +x '.APPLICATION_PATH.'/../scripts/jobs/*.php');
|
||||
|
||||
//Check persistent data directories
|
||||
if ( !file_exists($c->profil->path->data.DIRECTORY_SEPARATOR.'log') ) {
|
||||
echo "Erreur ".$c->profil->path->data.DIRECTORY_SEPARATOR.'log'. " non présent";
|
||||
echo "\n";
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user