[phpMP-CVS] CVS: phpMP/core main.php,1.1,1.2
Status: Pre-Alpha
Brought to you by:
heimidal
From: Brian R. <hei...@us...> - 2003-09-14 09:28:08
|
Update of /cvsroot/phpmp/phpMP/core In directory sc8-pr-cvs1:/tmp/cvs-serv5456/core Modified Files: main.php Log Message: Removed a deprecated option. Index: main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/core/main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** main.php 14 Sep 2003 09:24:25 -0000 1.1 --- main.php 14 Sep 2003 09:28:02 -0000 1.2 *************** *** 53,60 **** /** * @return void - * @param optional_files array * @desc Initiates all core components. */ ! function Core( $optional_files = array() ) { // The following code ensures that, no matter what, the dreaded --- 53,59 ---- /** * @return void * @desc Initiates all core components. */ ! function Core() { // The following code ensures that, no matter what, the dreaded *************** *** 114,129 **** include_once(C_PHPMP_ROOT . 'core/mpcode.php'); - - // This while() statement will loop through the - // $optional_files and include each file. - if(count($optional_files) > 0) - { - $i = 0; - while( $my_file = $optional_files[$i] ) - { - include_once(C_PHPMP_ROOT . 'core/' . $my_file . '.php'); - $i++; - } - } include_once(C_PHPMP_ROOT . 'core/template.php'); --- 113,116 ---- |