|
From: Jon O. <jon...@us...> - 2007-06-07 20:14:46
|
Update of /cvsroot/mxbb/mx_tinies/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11886/includes Added Files: common.php index.html Log Message: added mx_tinies --- NEW FILE: index.html --- --- NEW FILE: common.php --- <?php /*************************************************************************** * common.php * ---------- * begin : October, 2003 * copyright : Marc Ferran (c) 2003 * email : phpmix at pobox.com * module : mx_tinies * file contents : Common definitions for the module. * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ //Some basic security if( !defined('IN_PORTAL')) { die('Hacking Attempt'); } // // Load language files. // if( file_exists($module_root_path.'language/lang_'.$board_config['default_lang'].'/lang_admin.'.$phpEx) ) { include_once($module_root_path.'language/lang_'.$board_config['default_lang'].'/lang_admin.'.$phpEx); } else { include_once($module_root_path.'language/lang_english/lang_admin.'.$phpEx); } if( file_exists($module_root_path.'language/lang_'.$board_config['default_lang'].'/lang_main.'.$phpEx) ) { include_once($module_root_path.'language/lang_'.$board_config['default_lang'].'/lang_main.'.$phpEx); } else { include_once($module_root_path.'language/lang_english/lang_main.'.$phpEx); } // ================================================================================ // [ FUNCTIONS ] // ================================================================================ // No common functions, yet! ?> |