Changeset 11587 for trunk/include/common.inc.php
- Timestamp:
- Jul 1, 2011, 3:19:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/common.inc.php
r11511 r11587 107 107 @include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR. 'config/config.inc.php'); 108 108 } 109 110 // that's for migration from 2.2, will be deprecated in 2.4 111 if (isset($conf['order_by'])) 112 { 113 $conf['order_by_custom'] = $conf['order_by']; 114 } 115 if (isset($conf['order_by_inside_category'])) 116 { 117 $conf['order_by_inside_category_custom'] = $conf['order_by_inside_category']; 118 } 119 109 120 include(PHPWG_ROOT_PATH .'include/dblayer/functions_'.$conf['dblayer'].'.inc.php'); 110 121 … … 143 154 144 155 load_plugins(); 156 157 // users can have defined a custom order pattern, incompatible with GUI form 158 if (isset($conf['order_by_custom'])) 159 { 160 $conf['order_by'] = $conf['order_by_custom']; 161 } 162 if (isset($conf['order_by_inside_category_custom'])) 163 { 164 $conf['order_by_inside_category'] = $conf['order_by_inside_category_custom']; 165 } 145 166 146 167 include(PHPWG_ROOT_PATH.'include/user.inc.php');
Note: See TracChangeset
for help on using the changeset viewer.