Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2019-08-20 02:43:18 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-08-20 02:43:18 +0300
commit084f366cca8a7e9748d0acf0fa8c84d63ae5940e (patch)
tree14b98dc898b1dcf5c8a15164e66b25cd859611c2 /index.php
parent277bf0715f1939917c588f43023adaf900753f6b (diff)
Use the router for error report entry point
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index 5fbd448ab8..df4c1de52b 100644
--- a/index.php
+++ b/index.php
@@ -92,6 +92,9 @@ if (isset($_GET['route']) || isset($_POST['route'])) {
require_once ROOT_PATH . 'libraries/entry_points/database/triggers.php';
});
});
+ $routes->addRoute(['GET', 'POST'], '/error_report', function () {
+ require_once ROOT_PATH . 'libraries/entry_points/error_report.php';
+ });
$routes->addRoute(['GET', 'POST'], '/export', function () {
require_once ROOT_PATH . 'libraries/entry_points/export.php';
});