mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 17:19:56 +02:00
- Important URL assembling feature, all routes have now safe fallback option
- News configs updates and refactoring, introducing new config, various bugfixes - News DB changes: news_sef and category_sef fields, titles no more used in URL assembling - Aliases now not able to match existing URL module - New URL setting - choose type of SEF string when auto-extracted from titles (implemented in News and Custom pages, leave SEF string empty to see it in action) - Overall system stability bugfixes
This commit is contained in:
@@ -559,7 +559,7 @@ class page
|
||||
e107::getRedirect()->redirect(e_ADMIN_ABS.'cpage.php');
|
||||
}
|
||||
|
||||
if(!$type && $sql->db_Count('page', 'page_id', ($mode ? "page_id<>{$mode} AND " : '')."page_sef!={$page_sef}"))
|
||||
if(!$type && $sql->db_Count('page', '(page_id)', ($mode ? "page_id<>{$mode} AND " : '')."page_sef!={$page_sef}"))
|
||||
{
|
||||
e107::getMessage()->addError(CUSLAN_34, 'default', true);
|
||||
e107::getRedirect()->redirect(e_ADMIN_ABS.'cpage.php');
|
||||
|
Reference in New Issue
Block a user