From: <vb...@us...> - 2002-08-24 22:51:10
|
Update of /cvsroot/mantisbt/mantisbt/admin In directory usw-pr-cvs1:/tmp/cvs-serv32617/admin Modified Files: admin_check.php admin_inc.php Log Message: - Using DIRECTORY_SEPARATOR - Changed some violations to coding conventions. Index: admin_check.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/admin/admin_check.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- admin_check.php 24 Aug 2002 22:31:41 -0000 1.8 +++ admin_check.php 24 Aug 2002 22:51:07 -0000 1.9 @@ -4,7 +4,7 @@ ?> <?php error_reporting( E_ALL ); - include '../core/php_API.PHP'; + include '..' . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'php_API.php'; # mail test if ( isset( $f_mail_test ) ) { Index: admin_inc.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/admin/admin_inc.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- admin_inc.php 24 Aug 2002 22:31:41 -0000 1.5 +++ admin_inc.php 24 Aug 2002 22:51:07 -0000 1.6 @@ -1,5 +1,5 @@ <?php - $t_mantis_path = '../'; + $t_mantis_path = '..' . DIRECTORY_SEPARATOR; require ( $t_mantis_path . 'constant_inc.php' ); @@ -19,8 +19,8 @@ include ( $t_custom_config ); } - require $t_mantis_path . 'core/database_API.php'; - + require $t_mantis_path . 'core' . DIRECTORY_SEPARATOR . 'database_API.php'; + # Checks whether the specified field in the specified database exists. # If not, a message is displayed and the script exits. # |