Skip to content

Commit

Permalink
Moved admin_* scripts into admin/ folder.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1104 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Jun 8, 2002
1 parent 38eb7cf commit 28df982
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 16 deletions.
6 changes: 5 additions & 1 deletion admin_check.php → admin/admin_check.php
@@ -1,3 +1,8 @@
<?php
require( "../constant_inc.php" );
require( "../config_inc.php" );
require( "../core_database_API.php" );
?>
<?php
error_reporting( E_ALL );

Expand Down Expand Up @@ -59,7 +64,6 @@ function print_yes_no( $p_result ) {
</style>
</head>
<body>
<?php include( "core_API.php" ) ?>

<h2>Admin Check</h2>

Expand Down
6 changes: 5 additions & 1 deletion admin_upgrade.php → admin/admin_upgrade.php
@@ -1,4 +1,8 @@
<?php require_once( "core_API.php" ) ?>
<?php
require( "../constant_inc.php" );
require( "../config_inc.php" );
require( "../core_database_API.php" );
?>
<h1>Mantis Database Upgrade</h1>
<b>WARNING:</b> - Always backup your database data before upgrading. From the command line you can do this with the mysqldump command.
<p>
Expand Down
6 changes: 5 additions & 1 deletion admin_upgrade_0_14_0.php → admin/admin_upgrade_0_14_0.php
@@ -1,4 +1,8 @@
<?php include( "core_API.php" ) ?>
<?php
require( "../constant_inc.php" );
require( "../config_inc.php" );
require( "../core_database_API.php" );
?>
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
?>
Expand Down
7 changes: 3 additions & 4 deletions admin_upgrade_0_15_0.php → admin/admin_upgrade_0_15_0.php
@@ -1,8 +1,7 @@
<?php
require( "constant_inc.php" );
require( "config_inc.php" );

require( "core_database_API.php" );
require( "../constant_inc.php" );
require( "../config_inc.php" );
require( "../core_database_API.php" );
?>
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
Expand Down
6 changes: 3 additions & 3 deletions admin_upgrade_0_16_0.php → admin/admin_upgrade_0_16_0.php
@@ -1,7 +1,7 @@
<?php
require( "constant_inc.php" );
require( "config_inc.php" );
require( "core_database_API.php" );
require( "../constant_inc.php" );
require( "../config_inc.php" );
require( "../core_database_API.php" );
?>
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
Expand Down
6 changes: 3 additions & 3 deletions admin_upgrade_0_17_0.php → admin/admin_upgrade_0_17_0.php
@@ -1,7 +1,7 @@
<?php
require( "constant_inc.php" );
require( "config_inc.php" );
require( "core_database_API.php" );
require( "../constant_inc.php" );
require( "../config_inc.php" );
require( "../core_database_API.php" );
?>
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions admin_upgrade_inc.php → admin/admin_upgrade_inc.php
@@ -1,7 +1,7 @@
<?php
require_once( 'constant_inc.php' );
require_once( 'config_inc.php' );
require_once( 'core_database_API.php' );
require_once( '../constant_inc.php' );
require_once( '../config_inc.php' );
require_once( '../core_database_API.php' );
?>
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
Expand Down
1 change: 1 addition & 0 deletions doc/ChangeLog
Expand Up @@ -57,6 +57,7 @@ Mantis
* Enhanced the admin_upgrade.php script, and supported auto-generation of SQL files.
* In the view bugs, when all projects is selected the project name is now displayed in smaller font over the category.
* Added support for optional compression of html output ($g_compress_html). This option is OFF by default since it requires PHP 4.04.
* Moved admin_* scripts into admin/ folder.

2002.05.19 - 0.17.3

Expand Down

0 comments on commit 28df982

Please sign in to comment.