|
From: OryNider <ory...@us...> - 2007-08-21 04:09:36
|
Update of /cvsroot/mxbb/mx_smartor/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15631 Modified Files: album_jupload.php Log Message: ... Index: album_jupload.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_jupload.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** album_jupload.php 7 Jun 2007 20:13:32 -0000 1.1 --- album_jupload.php 21 Aug 2007 04:09:24 -0000 1.2 *************** *** 21,25 **** - // Get general album information if (!isset($album_root_path) || empty($album_root_path)) { --- 21,24 ---- *************** *** 27,36 **** } - // // Get general album information // ! include_once($album_root_path . 'album_common.'.$phpEx); // ------------------------------------ --- 26,46 ---- } // // Get general album information // ! //include_once($album_root_path . 'album_common.'.$phpEx); + // Get $lang variable + if (!isset($lang['Click_return_album_index']) || empty($lang['Click_return_album_index'])) + { + if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) + { + include( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ); + } + else + { + include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); + } + } // ------------------------------------ *************** *** 266,269 **** --- 276,280 ---- $file_list[] = $target; } + session_start(); $_SESSION['file_list']= $file_list; |