diff options
author | Arthur <arthur@hoa.ro> | 2016-02-15 20:38:31 +0100 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2016-02-15 20:38:31 +0100 |
commit | 6e607ca613b47e17f7516e94adfee930d4f3e1e8 (patch) | |
tree | d8921ee0f9f60099216896a73cd6a2dea9a1e842 /index.php | |
parent | 6cbff7e80f272d4a3bbd266b49efcd3607b7e1bd (diff) | |
parent | 59edea42bbd53af627d2d9eca74f95dc4b43bbd0 (diff) | |
download | Shaarli-6e607ca613b47e17f7516e94adfee930d4f3e1e8.tar.gz Shaarli-6e607ca613b47e17f7516e94adfee930d4f3e1e8.tar.zst Shaarli-6e607ca613b47e17f7516e94adfee930d4f3e1e8.zip |
Merge pull request #479 from ArthurHoaro/pluginsadmin-error-url
Fixes typo in plugin admin redirection URL
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1858,7 +1858,7 @@ HTML; | |||
1858 | ); | 1858 | ); |
1859 | 1859 | ||
1860 | // TODO: do not handle exceptions/errors in JS. | 1860 | // TODO: do not handle exceptions/errors in JS. |
1861 | echo '<script>alert("'. $e->getMessage() .'");document.location=\'?do=pluginsadmin\';</script>'; | 1861 | echo '<script>alert("'. $e->getMessage() .'");document.location=\'?do='. Router::$PAGE_PLUGINSADMIN .'\';</script>'; |
1862 | exit; | 1862 | exit; |
1863 | } | 1863 | } |
1864 | header('Location: ?do='. Router::$PAGE_PLUGINSADMIN); | 1864 | header('Location: ?do='. Router::$PAGE_PLUGINSADMIN); |