diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-08-20 02:43:18 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-08-20 02:43:18 +0300 |
commit | 084f366cca8a7e9748d0acf0fa8c84d63ae5940e (patch) | |
tree | 14b98dc898b1dcf5c8a15164e66b25cd859611c2 /index.php | |
parent | 277bf0715f1939917c588f43023adaf900753f6b (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.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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'; }); |