Changeset 19065


Ignore:
Timestamp:
Nov 18, 2012, 11:00:50 AM (8 years ago)
Author:
mistic100
Message:

allow to redirect almost everything (photo, additional pages, ...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ExtendedDescription/main.inc.php

    r18971 r19065  
    8383  global $conf, $page;
    8484
    85   if ($param == 'main_page_category_description' and isset($page['category']) and !isset($page['image_id']) and preg_match('#\[redirect (.*?)\]#i', $desc, $m1))
     85  if ($param != 'subcatify_category_description' and preg_match('#\[redirect (.*?)\]#i', $desc, $m1))
    8686  {
    8787    if (preg_match('#^(img|cat|search)=(\d*)\.?(\d*|)$#i', $m1[1], $m2))
Note: See TracChangeset for help on using the changeset viewer.