diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/phpservice/phpservice.inc | 8 | ||||
-rw-r--r-- | packages/phpservice/phpservice.xml | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/phpservice/phpservice.inc b/packages/phpservice/phpservice.inc index 0498c3ce..be5eaad5 100644 --- a/packages/phpservice/phpservice.inc +++ b/packages/phpservice/phpservice.inc @@ -58,7 +58,7 @@ function byte_convert( $bytes ) { } -function sync_package_phpservice() +function phpservice_sync_package_php() { global $config; @@ -150,11 +150,11 @@ function sync_package_phpservice() } -function php_sync_package() +function phpservice_sync_package() { global $config; - sync_package_phpservice(); + phpservice_sync_package_php(); if (!is_dir('/usr/local/www/packages/phpservice/')) { exec("mkdir /usr/local/www/packages/phpservice/"); @@ -193,7 +193,7 @@ function php_install_command() ) ); - php_sync_package(); + phpservice_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 89335b60..211e9554 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> - php_sync_package(); + phpservice_sync_package(); </custom_php_resync_config_command> <custom_delete_php_command> - php_sync_package(); + phpservice_sync_package(); </custom_delete_php_command> <custom_php_install_command> php_install_command(); |