Permalink
Browse files

Dropped main.php

  • Loading branch information...
roccivic committed Jun 23, 2012
1 parent 69b81e8 commit 9e3a9ee52f888812e7a2829d132eebe95051c590
View
@@ -34,7 +34,7 @@
/**
* Defines the url to return to in case of error in a sql statement
*/
-$err_url = 'main.php?' . PMA_generate_common_url();
+$err_url = 'index.php?' . PMA_generate_common_url();
/**
* Builds and executes the db creation sql query
@@ -68,7 +68,7 @@
$response->isSuccess(false);
$response->addJSON('message', $message);
} else {
- include_once 'main.php';
+ include_once 'index.php';
}
} else {
$message = PMA_Message::success(__('Database %1$s has been created.'));
View
@@ -150,7 +150,7 @@ function show_page($contents)
$_SESSION['PMA_single_signon_password'] = $AUTH_MAP[$id]['password'];
session_write_close();
/* Redirect to phpMyAdmin (should use absolute URL here!) */
- header('Location: ../main.php');
+ header('Location: ../index.php');
} else {
show_page('<p>User not allowed!</p>');
exit;
View
@@ -31,7 +31,7 @@
/* Close that session */
session_write_close();
/* Redirect to phpMyAdmin (should use absolute URL here!) */
- header('Location: ../main.php');
+ header('Location: ../index.php');
} else {
/* Show simple form */
header('Content-Type: text/html; charset=utf-8');
Oops, something went wrong.

0 comments on commit 9e3a9ee

Please sign in to comment.