|
From: OryNider <ory...@us...> - 2007-06-12 21:58:26
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21297 Modified Files: album.php Log Message: - Added $module_root_path = './'; - Replaced message_die with mx_message_die in one place ;) Index: album.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** album.php 7 Jun 2007 20:13:00 -0000 1.14 --- album.php 12 Jun 2007 21:58:22 -0000 1.15 *************** *** 36,39 **** --- 36,41 ---- define('IN_PORTAL', true); $mx_root_path = '../../'; + $module_root_path = './'; + // // Let's include some stuff... *************** *** 54,58 **** if(!$result = $db->sql_query($sql)) { ! message_die(GENERAL_ERROR, "Could not query Smartor_Album module information", "", __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); --- 56,60 ---- if(!$result = $db->sql_query($sql)) { ! mx_message_die(GENERAL_ERROR, "Could not query Smartor_Album module information", "", __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); *************** *** 233,236 **** --- 235,242 ---- include($module_root_path. 'includes/album_jupload.'.$phpEx); } + else if ( $mode == 'random_personal_thumbnail' ) + { + include($module_root_path. 'includes/album_personal_random.'.$phpEx); + } else if( !is_object($mx_block)) { |