aboutsummaryrefslogtreecommitdiffstats
path: root/packages/phpservice
diff options
context:
space:
mode:
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();