|
From: OryNider <ory...@us...> - 2007-09-26 12:54:11
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32301 Modified Files: 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.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** album_bbconstants.php 24 Sep 2007 22:28:10 -0000 1.2 --- album_bbconstants.php 26 Sep 2007 12:54:05 -0000 1.3 *************** *** 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'); } |