Update of /cvsroot/phpmp/phpMP/includes
In directory sc8-pr-cvs1:/tmp/cvs-serv21876/includes
Modified Files:
core.php language.php
Log Message:
Updated a few files to comply with my self-proclaimed coding standards.
Fixed the inclusion the lang_main.php file by the Lgnauge class.
Index: core.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/core.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** core.php 2 Dec 2002 22:21:03 -0000 1.35
--- core.php 3 Dec 2002 06:37:33 -0000 1.36
***************
*** 36,42 ****
function init ( $optional_files = array() )
{
! include_once(PHPMP_ROOT . 'config.php');
! include_once(PHPMP_ROOT . 'includes/debug.php');
$Debug = new Debug();
--- 36,42 ----
function init ( $optional_files = array() )
{
! include_once( PHPMP_ROOT . 'config.php' );
! include_once( PHPMP_ROOT . 'includes/debug.php' );
$Debug = new Debug();
***************
*** 83,85 ****
}
! ?>
\ No newline at end of file
--- 83,85 ----
}
! ?>
Index: language.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/language.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** language.php 2 Dec 2002 22:21:06 -0000 1.2
--- language.php 3 Dec 2002 06:37:34 -0000 1.3
***************
*** 17,21 ****
global $Local;
! include_once( PHPMP_ROOT . 'languages/' . LANGUAGE . '.php');
$Local = new Localization();
--- 17,21 ----
global $Local;
! include_once( PHPMP_ROOT . 'languages/' . LANGUAGE . '/lang_main.php');
$Local = new Localization();
|