Go to the source code of this file.
Namespaces | |
| namespace | MythWeb |
$Path | |
| $Path is an array of PATH_INFO passed into the script via mod_rewrite or some other lesser means. It contains most of the information required for figuring out what functions the user wants to access. array $GLOBALS['Path']
/* | |
| enum | module |
| enum | modules_path |
| enum | kb |
| enum | mb |
| enum | gb |
| enum | tb |
| enum | http_host |
| $Path | |
| $path = dirname(dirname(find_in_path('modules/tv/init.php'))) | |
Enumerations | |
| enum | root |
| enum | hostname |
| enum | error_email |
Variables | |
| $uname = posix_uname() | |
| enum root |
Definition at line 18 of file defines.php.
| enum hostname |
Definition at line 22 of file defines.php.
| enum error_email |
Definition at line 26 of file defines.php.
| enum module |
Definition at line 56 of file defines.php.
| enum modules_path |
Definition at line 60 of file defines.php.
| enum kb |
Definition at line 63 of file defines.php.
| enum mb |
Definition at line 64 of file defines.php.
| enum gb |
Definition at line 65 of file defines.php.
| enum tb |
Definition at line 66 of file defines.php.
| enum http_host |
Definition at line 70 of file defines.php.
| $uname = posix_uname() |
Definition at line 21 of file defines.php.
| $Path |
Initial value:
explode('/', preg_replace('/^\/+/', '', // Remove leading slashes preg_replace('/[\s]+/', ' ', // Convert extra whitespace // Grab the path info from various different places. array_key_exists('PATH_INFO', $_SERVER) && $_SERVER['PATH_INFO'] ? $_SERVER['PATH_INFO'] : (array_key_exists('PATH_INFO', $_ENV) && $_ENV['PATH_INFO'] ? $_ENV['PATH_INFO'] : (array_key_exists('PATH_INFO', $_GET) ? $_GET['PATH_INFO'] : '' ) ) )) )
Definition at line 38 of file defines.php.
Referenced by if().
| $path = dirname(dirname(find_in_path('modules/tv/init.php'))) |
Definition at line 59 of file defines.php.
1.5.5