|
From: MW <jo...@us...> - 2008-02-12 11:27:48
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25509/includes Modified Files: mx_functions_core.php Log Message: fixing missing globals Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -d -r1.76 -r1.77 *** mx_functions_core.php 12 Feb 2008 11:00:40 -0000 1.76 --- mx_functions_core.php 12 Feb 2008 11:27:44 -0000 1.77 *************** *** 542,546 **** function _update_cache( ) { ! global $db, $mx_root_path, $phpbb_root_path, $phpEx, $mx_use_cache, $portal_config; $portal_cache_time = time(); --- 542,546 ---- function _update_cache( ) { ! global $db, $mx_root_path, $phpbb_root_path, $mx_use_cache, $portal_config; $portal_cache_time = time(); *************** *** 661,666 **** function trash($type = 'all') { - global $phpEx; - $dir = opendir($this->cache_dir); while (($entry = readdir($dir)) !== false) --- 661,664 ---- *************** *** 1408,1412 **** function _is_dynamic() { ! global $mx_request_vars; $is_dynamic = ( ( $this->block_file == 'mx_dynamic.' . $phpEx ) ? true : false ); --- 1406,1410 ---- function _is_dynamic() { ! global $mx_request_vars, $phpEx; $is_dynamic = ( ( $this->block_file == 'mx_dynamic.' . $phpEx ) ? true : false ); *************** *** 1434,1437 **** --- 1432,1436 ---- function _is_sub() { + global $phpEx; $is_sub = ( ( $this->block_file == 'mx_multiple_blocks.' . $phpEx ) ? true : false ); *************** *** 1635,1639 **** function output_cp_button($overall_header = false) { ! global $layouttemplate, $userdata, $mx_root_path, $mx_page, $lang, $block_size, $images; // --- 1634,1638 ---- function output_cp_button($overall_header = false) { ! global $layouttemplate, $userdata, $mx_root_path, $mx_page, $lang, $block_size, $images, $phpEx; // *************** *** 1887,1891 **** function _get_custom_module_parameters($parameter_data, $block_id) { ! global $mx_root_path; if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ) ) --- 1886,1890 ---- function _get_custom_module_parameters($parameter_data, $block_id) { ! global $mx_root_path, $phpEx; if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ) ) *************** *** 1916,1920 **** function _get_custom_module_panels($parameter_data, $block_id) { ! global $mx_root_path; if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ) ) --- 1915,1919 ---- function _get_custom_module_panels($parameter_data, $block_id) { ! global $mx_root_path, $phpEx; if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ) ) *************** *** 1944,1948 **** function _submit_custom_module_parameters($parameter_data, $block_id) { ! global $mx_root_path; if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ) ) --- 1943,1947 ---- function _submit_custom_module_parameters($parameter_data, $block_id) { ! global $mx_root_path, $phpEx; if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ) ) |