diff options
author | jim-p <jimp@pfsense.org> | 2010-11-09 15:17:29 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-11-09 15:17:29 -0500 |
commit | 99477c441e2b7b433b5d825f48181127a0ba964f (patch) | |
tree | a9510f8772d87308b9a4f952416c19d3e31e5477 | |
parent | c70b574412951f52e30dcc4b1bf251c5d2e47819 (diff) | |
download | pfsense-packages-99477c441e2b7b433b5d825f48181127a0ba964f.tar.gz pfsense-packages-99477c441e2b7b433b5d825f48181127a0ba964f.tar.bz2 pfsense-packages-99477c441e2b7b433b5d825f48181127a0ba964f.zip |
Unique function names.
-rw-r--r-- | config/vhosts/vhosts.inc | 8 | ||||
-rw-r--r-- | config/vhosts/vhosts.xml | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/config/vhosts/vhosts.inc b/config/vhosts/vhosts.inc index 363d8e7e..5b3d65df 100644 --- a/config/vhosts/vhosts.inc +++ b/config/vhosts/vhosts.inc @@ -707,13 +707,13 @@ function vhosts_sync_package_php() } -function php_sync_package() { +function vhosts_sync_package() { global $config; vhosts_sync_package_php(); } -function php_install_command() { +function vhosts_install_command() { global $config; conf_mount_rw(); @@ -786,7 +786,7 @@ function php_install_command() { ) ); - php_sync_package(); + vhosts_sync_package(); //if (pkg_is_service_running('vhosts')) { //documentation purposes @@ -798,7 +798,7 @@ function php_install_command() { } -function deinstall_command() +function vhosts_deinstall_command() { conf_mount_rw(); config_lock(); diff --git a/config/vhosts/vhosts.xml b/config/vhosts/vhosts.xml index 2057918e..9bfb73e0 100644 --- a/config/vhosts/vhosts.xml +++ b/config/vhosts/vhosts.xml @@ -107,15 +107,15 @@ <custom_add_php_command> </custom_add_php_command> <custom_php_resync_config_command> - php_sync_package(); + vhosts_sync_package(); </custom_php_resync_config_command> <custom_delete_php_command> - php_sync_package(); + vhosts_sync_package(); </custom_delete_php_command> <custom_php_install_command> - php_install_command(); + vhosts_install_command(); </custom_php_install_command> <custom_php_deinstall_command> - deinstall_command(); + vhosts_deinstall_command(); </custom_php_deinstall_command> </packagegui>
\ No newline at end of file |