Move db_details_{common,db_info,links}.php to libraries folder as it does not require direct access.
This commit is contained in:
@@ -7,14 +7,14 @@ require_once('./libraries/common.lib.php');
|
||||
/**
|
||||
* Runs common work
|
||||
*/
|
||||
require('./db_details_common.php');
|
||||
require('./libraries/db_details_common.inc.php');
|
||||
require_once './libraries/sql_query_form.lib.php';
|
||||
|
||||
/**
|
||||
* Gets informations about the database and, if it is empty, move to the
|
||||
* "db_details_structure.php" script where table can be created
|
||||
*/
|
||||
require('./db_details_db_info.php');
|
||||
require('./libraries/db_details_db_info.inc.php');
|
||||
if ( $num_tables == 0 && empty( $db_query_force ) ) {
|
||||
$sub_part = '';
|
||||
$is_info = TRUE;
|
||||
|
Reference in New Issue
Block a user