|
From: FlorinCB <ory...@us...> - 2009-07-29 05:08:28
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv15524/mx_pafiledb/pafiledb Modified Files: pafiledb_common.php Log Message: update Index: pafiledb_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/pafiledb_common.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** pafiledb_common.php 3 Jun 2008 20:21:57 -0000 1.27 --- pafiledb_common.php 29 Jul 2009 05:08:13 -0000 1.28 *************** *** 186,193 **** } ! include_once( $module_root_path . 'pafiledb/includes/functions.' . $phpEx ); ! include_once( $module_root_path . 'pafiledb/includes/functions_auth.' . $phpEx ); ! //include_once( $module_root_path . 'pafiledb/includes/functions_mx.' . $phpEx ); ! include_once( $module_root_path . 'pafiledb/includes/functions_pafiledb.' . $phpEx ); // --- 186,193 ---- } ! include_once($module_root_path . 'pafiledb/includes/functions.' . $phpEx); ! include_once($module_root_path . 'pafiledb/includes/functions_auth.' . $phpEx ); ! include_once($module_root_path . 'pafiledb/includes/functions_cache.' . $phpEx); //Temp fix ! include_once($module_root_path . 'pafiledb/includes/functions_pafiledb.' . $phpEx); // *************** *** 204,208 **** if ( !MXBB_MODULE ) { ! include_once( $module_root_path . 'pafiledb/includes/template.' . $phpEx ); // Include XS template $template = new Template($module_root_path . 'templates/'. $theme['template_name']); } --- 204,208 ---- if ( !MXBB_MODULE ) { ! include_once($module_root_path . 'pafiledb/includes/template.' . $phpEx); // Include XS template $template = new Template($module_root_path . 'templates/'. $theme['template_name']); } *************** *** 211,230 **** // Load classes // =================================================== ! $pafiledb_cache = new module_cache($module_root_path . 'pafiledb/'); $pafiledb_functions = new pafiledb_functions(); ! if ( $pafiledb_cache->exists( 'config' ) ) ! { ! $pafiledb_config = $pafiledb_cache->get( 'config' ); ! } ! else { ! $pafiledb_config = $pafiledb_functions->pafiledb_config(); ! $pafiledb_cache->put( 'config', $pafiledb_config ); } $pafiledb_user = new mx_user_info(); ! if (defined( 'IN_ADMIN' )) { include_once( $module_root_path . 'pafiledb/includes/functions_admin.' . $phpEx ); --- 211,227 ---- // Load classes // =================================================== ! $pafiledb_cache = new pafiledb_cache($module_root_path . 'pafiledb/'); $pafiledb_functions = new pafiledb_functions(); ! $pafiledb_config = $pafiledb_functions->obtain_pafiledb_config(); ! ! if ($pafiledb_config['allow_comment_wysiwyg'] == '') { ! $pafiledb_config = $pafiledb_functions->obtain_pafiledb_config(false); } $pafiledb_user = new mx_user_info(); ! if (defined('IN_ADMIN')) { include_once( $module_root_path . 'pafiledb/includes/functions_admin.' . $phpEx ); |