Splitted the big "lib.inc.php3" into smaller libraries
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
* Gets some core libraries, ensures the database exists (else move to the
|
||||
* "parent" script) and diplays headers
|
||||
*/
|
||||
require('./grab_globals.inc.php3');
|
||||
require('./lib.inc.php3');
|
||||
require('./libraries/grab_globals.lib.php3');
|
||||
require('./libraries/common.lib.php3');
|
||||
require('./libraries/bookmark.lib.php3');
|
||||
// Not a valid db name -> back to the welcome page
|
||||
if (!empty($db)) {
|
||||
$is_db = @mysql_select_db($db);
|
||||
@@ -386,7 +387,7 @@ $url_query = 'lang=' . $lang
|
||||
. '&db=' . urlencode($db)
|
||||
. '&goto=db_details.php3';
|
||||
if (isset($show_query) && $show_query == 'y') {
|
||||
// This script has been called by db_readdump.php3
|
||||
// This script has been called by read_dump.php3
|
||||
if (isset($sql_query_cpy)) {
|
||||
$query_to_display = $sql_query_cpy;
|
||||
}
|
||||
@@ -416,7 +417,7 @@ if ($num_tables > 0) {
|
||||
|
||||
<!-- Query box, sql file loader and bookmark support -->
|
||||
<li>
|
||||
<form method="post" action="db_readdump.php3" enctype="multipart/form-data"
|
||||
<form method="post" action="read_dump.php3" enctype="multipart/form-data"
|
||||
onsubmit="return checkSqlQuery(this)">
|
||||
<input type="hidden" name="is_js_confirmed" value="0" />
|
||||
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
|
||||
|
Reference in New Issue
Block a user