Changeset 11589 for freepbx/branches
- Timestamp:
- 02/24/11 15:43:32 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.9/amp_conf/htdocs/admin/libraries/freepbx_conf.class.php
r11586 r11589 1040 1040 } 1041 1041 1042 1043 1042 /** DEPRECATED: $amp_conf provided by bootstrap or use freepbx_conf class. 1043 * this must be in a if (!function_exists('parse_amportal_conf')) because during 1044 * upgrading from 2.8 to 2.9, the old functions.inc.php is currently loaded 1045 * and calls functions which include this. 1044 1046 * 1045 * @param string filename of amportal.conf to pas to parse_amportal_conf method1047 * @param string filename of amportal.conf to pass to parse_amportal_conf method 1046 1048 * 1047 1049 * @return array $amp_conf array 1048 1050 */ 1049 function parse_amportal_conf($conf) { 1050 1051 freepbx_log(FPBX_LOG_ERROR,'parse_amportal_conf() is deprecated. Use of bootstrap.php creates $amp_conf'); 1052 1053 $freepbx_conf =& freepbx_conf::create(); 1054 return $freepbx_conf->parse_amportal_conf($conf); 1051 if (!function_exists('parse_amportal_conf')) { 1052 function parse_amportal_conf($conf) { 1053 1054 freepbx_log(FPBX_LOG_ERROR,'parse_amportal_conf() is deprecated. Use of bootstrap.php creates $amp_conf'); 1055 1056 $freepbx_conf =& freepbx_conf::create(); 1057 return $freepbx_conf->parse_amportal_conf($conf); 1058 } 1055 1059 } 1056 1060 ?>
