From f0c4f33ba8bfb1904b424e1611d93974d38aa808 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 4 Jun 2016 23:44:06 +0200 Subject: [PATCH] updated phpdocumentor to use php5 --- lib/phpdocumentor.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/phpdocumentor.php b/lib/phpdocumentor.php index 9bd8484..70157d1 100644 --- a/lib/phpdocumentor.php +++ b/lib/phpdocumentor.php @@ -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(); }