added appropiate comments to fix of #670

Signed-off-by: Christoph Burchert (Chb) <derchb@froxlor.org>
This commit is contained in:
Christoph Burchert (Chb)
2011-03-18 23:41:57 +01:00
parent 0ab8d177b2
commit 0776afc09e

View File

@@ -158,7 +158,9 @@ class ApsInstaller extends ApsParser
$Return = array(); $Return = array();
/* is true by default; later it will contain the return status of the executed program */ // first 'true' to indicate that we want the return-status from exec.
// after exec() is called, the value will be the return-status of the
// program executed
$ReturnStatus = true; $ReturnStatus = true;
$Return = safe_exec('php ' . escapeshellarg($this->RealPath . $this->DomainPath . '/install_scripts/'.$scriptname) . ' install', $ReturnStatus); $Return = safe_exec('php ' . escapeshellarg($this->RealPath . $this->DomainPath . '/install_scripts/'.$scriptname) . ' install', $ReturnStatus);
@@ -633,7 +635,9 @@ class ApsInstaller extends ApsParser
{ {
$ReturnLines = array(); $ReturnLines = array();
/* true by default; later it will contain the return status of the executed program */ // first 'true' to indicate that we want the return-status from exec.
// after exec() is called, the value will be the return-status of the
// program executed
$ReturnVal = true; $ReturnVal = true;