Parent Directory
|
Revision Log
|
Revision Graph
#199635: WSOD (white screen of death) on cached pages
| 1 | <?php |
| 2 | // $Id: themesettingsapi.module,v 1.8 2007/11/25 18:25:58 johnalbin Exp $ |
| 3 | |
| 4 | /** |
| 5 | * Implementation of hook_init(). |
| 6 | */ |
| 7 | function themesettingsapi_init() { |
| 8 | // Conditionally load on admin/build/themes/settings/* and admin/settings/admin |
| 9 | if (arg(0) == 'admin' && (arg(4) != '' && arg(2) == 'themes' && arg(3) == 'settings' && arg(1) == 'build' || arg(2) == 'admin' && arg(1) == 'settings')) { |
| 10 | include_once('./'. drupal_get_path('module', 'themesettingsapi') .'/themesettingsapi.admin.inc'); |
| 11 | } |
| 12 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |