updated phpdocumentor to use php5

This commit is contained in:
Ulf Gebhardt 2016-06-04 23:44:06 +02:00
parent 33be5be1b0
commit f0c4f33ba8

View File

@ -8,21 +8,14 @@ class phpdocumentor {
$ignore_ .= $path.',';}
if($ignore_ != ''){
$ignore_ = '--ignore '.rtrim($ignore_, ',');}
new INFO(dirname(__FILE__).'/phpDocumentor.phar run'.
' -d '.$inpath->SERVERPATH().
' -t '.$outpath->SERVERPATH().
' --cache-folder '.$cachepath->SERVERPATH().
' '.$ignore_.
' '.$sourcecode_.
' '.$parseprivate_.
' --title "'.$title.'" 2>&1');
new INFO(shell_exec(dirname(__FILE__).'/phpDocumentor.phar run'.
new INFO(shell_exec('php5 '.dirname(__FILE__).'/phpDocumentor.phar run'.
' -d '.$inpath->SERVERPATH().
' -t '.$outpath->SERVERPATH().
' --cache-folder '.$cachepath->SERVERPATH().
' '.$ignore_.
' '.$sourcecode_.
' '.$parseprivate_.
' --force'.
' --title "'.$title.'" 2>&1'));
return \SYSTEM\LOG\JsonResult::ok();
}