Changeset 12266
- Timestamp:
- 06/23/11 16:46:16 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/functions.inc.php
r12223 r12266 77 77 case 'CI_Email': 78 78 //make upstream scripts happy - for $CI_Email->_set_error_message() 79 if (!function_exits('get_instance')) { 79 if (!function_exists('log_message')) { 80 function log_message(){}; 81 } 82 if (!function_exists('get_instance')) { 80 83 function get_instance(){return new ci_def();} 81 84 } … … 83 86 class ci_def {function __construct(){$this->lang = new ci_lan_def();}} 84 87 } 85 if (!class_exis its('ci_lan_def')) {88 if (!class_exists('ci_lan_def')) { 86 89 class ci_lan_def {function load(){return false;} function line(){return false;}} 87 90 } 88 if (!defined('BASEPATH')){define('BASEPATH', '');} 91 if (!defined('BASEPATH')){ 92 define('BASEPATH', ''); 93 } 94 if (!defined('FOPEN_READ')) { 95 define('FOPEN_READ', 'rb'); 96 } 89 97 require_once($dirname . '/helpers/Email.php'); 90 98 break;
