/[drupal]/contributions/modules/themesettingsapi/themesettingsapi.module
ViewVC logotype

Contents of /contributions/modules/themesettingsapi/themesettingsapi.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (show annotations) (download) (as text)
Thu Apr 3 19:13:23 2008 UTC (19 months, 3 weeks ago) by johnalbin
Branch: MAIN
CVS Tags: DRUPAL-6--1-4, HEAD
Changes since 1.8: +9 -4 lines
File MIME type: text/x-php
#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