aboutsummaryrefslogtreecommitdiffstats
path: root/packages/phpservice/phpservice.inc
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2009-01-23 01:28:11 +0000
committerMark Crane <mcrane@pfsense.org>2009-01-23 01:28:11 +0000
commit221e8bfa5d007ad8e25e4a01c42c5ea496bd35df (patch)
tree8f74c713bfa1bdc3bbbe260c45023332c5fb8b48 /packages/phpservice/phpservice.inc
parent07213c013d998d5d98f6fe37a8f0004a7a3c6717 (diff)
downloadpfsense-packages-221e8bfa5d007ad8e25e4a01c42c5ea496bd35df.tar.gz
pfsense-packages-221e8bfa5d007ad8e25e4a01c42c5ea496bd35df.tar.bz2
pfsense-packages-221e8bfa5d007ad8e25e4a01c42c5ea496bd35df.zip
phpservice package improvements
Diffstat (limited to 'packages/phpservice/phpservice.inc')
-rw-r--r--packages/phpservice/phpservice.inc18
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/phpservice/phpservice.inc b/packages/phpservice/phpservice.inc
index 9acb7037..da6ada59 100644
--- a/packages/phpservice/phpservice.inc
+++ b/packages/phpservice/phpservice.inc
@@ -118,15 +118,15 @@ function phpservice_sync_package_php()
$tmp .= " }\n";
$tmp .= "\n";
$tmp .= "\n";
-
- $tmp .= "//------------------------------------------\n";
+ $tmp .= "\n";
foreach($config['installedpackages']['phpservice']['config'] as $rowhelper) {
-
- $tmp .= base64_decode($rowhelper['php']);
- $tmp .= "\n";
- $tmp .= "//------------------------------------------\n";
-
+
+ $tmp .= "// name: ".$rowhelper['name']." \n";
+ $tmp .= "// description: ".$rowhelper['description']." \n\n";
+ $tmp .= base64_decode($rowhelper['php']);
+ $tmp .= "\n";
+
}
$tmp .= "\n";
@@ -150,7 +150,7 @@ function phpservice_sync_package_php()
}
-function phpservice_sync_package()
+function php_sync_package()
{
global $config;
@@ -193,7 +193,7 @@ function php_install_command()
)
);
- phpservice_sync_package();
+ php_sync_package();
//$handle = popen("/usr/local/etc/rc.d/phpservice.sh start", "r");
//pclose($handle);