[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/dtools/wsod/ -> wsod_emergency.php (summary)

(no description)

File Size: 254 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 7 files
 includes/common.inc
 includes/bootstrap.inc
 includes/path.inc
 includes/menu.inc
 sites/all/modules/dtools/wsod/wsod.module
 includes/module.inc
 includes/database.inc

Defines 7 functions

  wsod_drupal_bootstrap_run()
  wsod_drupal_bootstrap()
  wsod_detect_drupal_path()
  wsod_pathposall()
  wsod_detect_filesystem_slash()
  wsod_strposall()
  wsod_sess_close()

Functions
Functions that are not part of a class:

wsod_drupal_bootstrap_run($phase)   X-Ref
WSOD version of Drupal drupal_bootstrap()


wsod_drupal_bootstrap($phase)   X-Ref
WSOD version of Drupal _drupal_bootstrap()

Modifications:
- replace handler sess_close() by WSOD
Some fatal errors can't be handled by set_error_handler(), but can be handled by session_set_save_handler()

param: $phase

wsod_detect_drupal_path(&$output, $start_dir = __FILE__)   X-Ref
Detect Drupal path by scanning each level of current path


wsod_pathposall($dir)   X-Ref
pathposall

Find all occurrences of a subdirs in a path

param: string $dir
return: array

wsod_detect_filesystem_slash()   X-Ref
Detect slash type of filesystem


wsod_strposall($haystack,$needle)   X-Ref
Find all occurrences of a needle in a haystack

param: string $haystack
param: string $needle
return: array or false

wsod_sess_close()   X-Ref
Get content type of page header

return: string



Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7