|
From: OryNider <ory...@us...> - 2007-09-26 12:55:19
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv334 Modified Files: Tag: core28x album_bbconstants.php Log Message: fixed ;) Index: album_bbconstants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_bbconstants.php,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** album_bbconstants.php 24 Sep 2007 22:27:25 -0000 1.1.2.1 --- album_bbconstants.php 26 Sep 2007 12:55:15 -0000 1.1.2.2 *************** *** 11,15 **** if ( !defined('IN_PORTAL') ) { ! die('Hacking attempt'); } --- 11,15 ---- if ( !defined('IN_PORTAL') ) { ! //die('Hacking attempt'); } *************** *** 19,22 **** --- 19,25 ---- } + // Replace 'mx_' with your table prefix! + $mx_table_prefix = !empty($mx_table_prefix) ? $mx_table_prefix : 'mx_'; + !defined('ALBUM_CONFIG_TABLE') ? define('ALBUM_CONFIG_TABLE', $mx_table_prefix.'smartor_album_config') : false; *************** *** 26,30 **** if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(CRITICAL_ERROR, 'Could not query album config database'); } --- 29,33 ---- if ( !($result = $db->sql_query($sql)) ) { ! message_die(CRITICAL_ERROR, 'Could not query album config database'); } |