|
From: Jon O. <jon...@us...> - 2006-08-01 21:03:28
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv23242/modules/mx_pafiledb/pafiledb Modified Files: pafiledb_common.php Log Message: massive update Index: pafiledb_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/pafiledb_common.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** pafiledb_common.php 8 Jul 2006 10:23:34 -0000 1.17 --- pafiledb_common.php 1 Aug 2006 21:03:25 -0000 1.18 *************** *** 32,35 **** --- 32,36 ---- } } + // =================================================== // to make it work with php version under 4.1 and other stuff *************** *** 61,76 **** // =================================================== ! // Include pafiledb data file // =================================================== - include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); include_once( $module_root_path . 'pafiledb/includes/functions.' . $phpEx ); - include_once( $module_root_path . 'pafiledb/includes/functions_cache.' . $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 ); include_once( $module_root_path . 'pafiledb/includes/template.' . $phpEx ); ! $pafiledb_cache = new pafiledb_cache(); $pafiledb_functions = new pafiledb_functions(); --- 62,90 ---- // =================================================== ! // Include Files // =================================================== include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); + + // + // Load addon tools + // + // - Class module_cache + // - Class mx_custom_fields (pafiledb needs its own class version in functions.php) + // - Class mx_notification + // - Class mx_text + // - Class mx_text_formatting + // + include_once( $mx_root_path . 'includes/mx_functions_tools.' . $phpEx ); + 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 ); include_once( $module_root_path . 'pafiledb/includes/template.' . $phpEx ); ! // =================================================== ! // Load classes ! // =================================================== ! $pafiledb_cache = new module_cache($module_root_path . 'pafiledb/'); $pafiledb_functions = new pafiledb_functions(); |