aboutsummaryrefslogtreecommitdiffstats
path: root/packages/phpservice
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2009-01-22 20:19:10 +0000
committerMark Crane <mcrane@pfsense.org>2009-01-22 20:19:10 +0000
commitee2e0e60b7082bdf00aa52dc89c637de4f6dcc14 (patch)
tree9afa38d3cfd9ab3220db5073e1069a6fc9f3810a /packages/phpservice
parent1446b10fa05a754cf4fac3325cdd182a13fa96c6 (diff)
downloadpfsense-packages-ee2e0e60b7082bdf00aa52dc89c637de4f6dcc14.tar.gz
pfsense-packages-ee2e0e60b7082bdf00aa52dc89c637de4f6dcc14.tar.bz2
pfsense-packages-ee2e0e60b7082bdf00aa52dc89c637de4f6dcc14.zip
phpservice pakcage change sync_package to php_sync_package
Diffstat (limited to 'packages/phpservice')
-rw-r--r--packages/phpservice/phpservice.inc4
-rw-r--r--packages/phpservice/phpservice.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/phpservice/phpservice.inc b/packages/phpservice/phpservice.inc
index 24ad4e61..0498c3ce 100644
--- a/packages/phpservice/phpservice.inc
+++ b/packages/phpservice/phpservice.inc
@@ -150,7 +150,7 @@ function sync_package_phpservice()
}
-function sync_package()
+function php_sync_package()
{
global $config;
@@ -193,7 +193,7 @@ function php_install_command()
)
);
- sync_package();
+ php_sync_package();
$handle = popen("/usr/local/etc/rc.d/phpservice.sh start", "r");
pclose($handle);
diff --git a/packages/phpservice/phpservice.xml b/packages/phpservice/phpservice.xml
index 7ac7a845..89335b60 100644
--- a/packages/phpservice/phpservice.xml
+++ b/packages/phpservice/phpservice.xml
@@ -107,10 +107,10 @@
<custom_add_php_command>
</custom_add_php_command>
<custom_php_resync_config_command>
- sync_package();
+ php_sync_package();
</custom_php_resync_config_command>
<custom_delete_php_command>
- sync_package();
+ php_sync_package();
</custom_delete_php_command>
<custom_php_install_command>
php_install_command();