Changeset 9357
- Timestamp:
- Feb 23, 2011, 10:24:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin.php
r9127 r9357 78 78 // | variables init | 79 79 // +-----------------------------------------------------------------------+ 80 81 // ?page=plugin-community-pendings is an clean alias of 82 // ?page=plugin§ion=community/admin.php&tab=pendings 83 if (preg_match('/^plugin-([^-]*)(?:-(.*))?$/', $_GET['page'], $matches)) 84 { 85 $_GET['page'] = 'plugin'; 86 $_GET['section'] = $matches[1].'/admin.php'; 87 if (isset($matches[2])) 88 { 89 $_GET['tab'] = $matches[2]; 90 } 91 } 80 92 81 93 if (isset($_GET['page'])
Note: See TracChangeset
for help on using the changeset viewer.