diff options
author | Mark Crane <mcrane@pfsense.org> | 2009-01-22 21:04:27 +0000 |
---|---|---|
committer | Mark Crane <mcrane@pfsense.org> | 2009-01-22 21:04:27 +0000 |
commit | 3485f67d6435f164c6de52b9ef42213c0f50dfe1 (patch) | |
tree | bfd013386f066380d3875ce5069e9aa4e8d01a49 /packages/phpservice | |
parent | ee2e0e60b7082bdf00aa52dc89c637de4f6dcc14 (diff) | |
download | pfsense-packages-3485f67d6435f164c6de52b9ef42213c0f50dfe1.tar.gz pfsense-packages-3485f67d6435f164c6de52b9ef42213c0f50dfe1.tar.bz2 pfsense-packages-3485f67d6435f164c6de52b9ef42213c0f50dfe1.zip |
phpservice package work on installation take 1
Diffstat (limited to 'packages/phpservice')
-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(); |