|
From: Florin C B. <ory...@us...> - 2013-06-17 15:44:21
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9172 Modified Files: pafiledb_constants.php Log Message: Index: pafiledb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/pafiledb_constants.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** pafiledb_constants.php 25 Oct 2012 13:02:03 -0000 1.30 --- pafiledb_constants.php 17 Jun 2013 15:44:18 -0000 1.31 *************** *** 14,18 **** } ! if ( !MXBB_MODULE ) { $server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://'; --- 14,18 ---- } ! if (!MXBB_MODULE) { $server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://'; *************** *** 28,31 **** --- 28,35 ---- $is_block = false; // This also makes the script work for phpBB ;) } + if (!isset($mx_table_prefix)) + { + $mx_table_prefix = $table_prefix; + } //$module_root_path = PORTAL_URL . $module_root_path; *************** *** 38,44 **** define('ICONS_DIR', 'pafiledb/images/icons/'); - // // Tables - // define( 'PA_CATEGORY_TABLE', $mx_table_prefix . 'pa_cat' ); define( 'PA_COMMENTS_TABLE', $mx_table_prefix . 'pa_comments' ); --- 42,46 ---- *************** *** 53,59 **** define( 'PA_MIRRORS_TABLE', $mx_table_prefix . 'pa_mirrors' ); - // // Switches - // define( 'PAFILEDB_DEBUG', 1 ); // Pafiledb Mod Debugging on define( 'PAFILEDB_QUERY_DEBUG', 1 ); --- 55,59 ---- |