adjust admin permalink, t hanks to lux
This commit is contained in:
parent
5063ea1cab
commit
eb47f799b7
@ -3,6 +3,9 @@
|
||||
Version 1.6 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Bugfix: Adjust /admin permalink detection so that it does not listen
|
||||
on /adminbook for example. Thanks to Lux!
|
||||
|
||||
* serendipity_event_mailer now also allows to use commas instead of
|
||||
spaces to seperate multiple mails. Use distinct email adresses
|
||||
(Thanks to evanslee)
|
||||
|
@ -287,7 +287,7 @@ function &serendipity_permalinkPatterns($return = false) {
|
||||
$PAT['DELETE'] = '@/' . $serendipity['permalinkDeletePath'].'/(.*)/(.*)/([0-9]+)@';
|
||||
$PAT['ARCHIVES'] = '@/' . $serendipity['permalinkArchivesPath'].'([/A-Za-z0-9]+)\.html@';
|
||||
$PAT['FEEDS'] = '@/' . $serendipity['permalinkFeedsPath'].'/@';
|
||||
$PAT['ADMIN'] = '@/(' . $serendipity['permalinkAdminPath'] . '|entries)(/.+)?@';
|
||||
$PAT['ADMIN'] = '@/(' . $serendipity['permalinkAdminPath'] . '|entries)(/.+)?$@';
|
||||
$PAT['ARCHIVE'] = '@/' . $serendipity['permalinkArchivePath'] . '/?@';
|
||||
$PAT['CATEGORIES'] = '@/' . $serendipity['permalinkCategoriesPath'].'/([0-9;]+)@';
|
||||
$PAT['PLUGIN'] = '@/(' . $serendipity['permalinkPluginPath'] . '|plugin)/(.*)@';
|
||||
|
Loading…
x
Reference in New Issue
Block a user