mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-16 15:09:55 -04:00
Revert "Make the trailing slash on the url optional. Sometimes it is not there, so the regex doesn't match"
This reverts commit e4d397d301.
This commit is contained in:
@@ -23,10 +23,10 @@ $config["^admin_.*"] = null;
|
||||
|
||||
// Redirect /form/add/admin/controller and /form/edit/admin/controller to
|
||||
// admin/controller/form_(add|edit)/parms. provides the same as below for admin pages
|
||||
$config["^form/(edit|add)/admin/(\w+)/?(.*)$"] = "admin/$2/form_$1/$3";
|
||||
$config["^form/(edit|add)/admin/(\w+)/(.*)$"] = "admin/$2/form_$1/$3";
|
||||
|
||||
// Redirect /form/add and /form/edit to the module/form_(add|edit)/parms.
|
||||
$config["^form/(edit|add)/(\w+)/?(.*)$"] = "$2/form_$1/$3";
|
||||
$config["^form/(edit|add)/(\w+)/(.*)$"] = "$2/form_$1/$3";
|
||||
|
||||
// Default page is the root album
|
||||
$config["_default"] = "albums";
|
||||
|
||||
Reference in New Issue
Block a user