From 0776afc09eb0aebe0a3a4ed4c9acc1b3519034f2 Mon Sep 17 00:00:00 2001 From: "Christoph Burchert (Chb)" Date: Fri, 18 Mar 2011 23:41:57 +0100 Subject: [PATCH] added appropiate comments to fix of #670 Signed-off-by: Christoph Burchert (Chb) --- lib/classes/aps/class.ApsInstaller.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/classes/aps/class.ApsInstaller.php b/lib/classes/aps/class.ApsInstaller.php index 9e2f7e04..f55e6763 100644 --- a/lib/classes/aps/class.ApsInstaller.php +++ b/lib/classes/aps/class.ApsInstaller.php @@ -158,7 +158,9 @@ class ApsInstaller extends ApsParser $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; $Return = safe_exec('php ' . escapeshellarg($this->RealPath . $this->DomainPath . '/install_scripts/'.$scriptname) . ' install', $ReturnStatus); @@ -633,7 +635,9 @@ class ApsInstaller extends ApsParser { $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;