mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 14:55:18 -04:00
Fix for ticket #1182. Remove the trailing slash and just let it be matched by the trailing (.*) group
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