| [ Index ] |
PHP Cross Reference of YOURLS |
[Source view] [Print] [Project Stats]
Define the YOURLS config
| File Size: | 216 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Config:: (6 methods):
__construct()
fix_win32_path()
set_config()
set_root()
find_config()
define_core_constants()
| __construct($config = '') X-Ref |
param: string $config Optional user defined config path since: 1.7.3 |
| fix_win32_path($path) X-Ref |
| Convert antislashes to slashes param: string $path since: 1.7.3 return: string path with \ converted to / |
| set_config($config) X-Ref |
param: string $config path to config file since: 1.7.3 return: void |
| set_root($root) X-Ref |
param: string $root path to YOURLS root directory since: 1.7.3 return: void |
| find_config() X-Ref |
| Find config.php, either user defined or from standard location since: 1.7.3 return: string path to found config file |
| define_core_constants() X-Ref |
| Define core constants that have not been user defined in config.php since: 1.7.3 return: void |
| Generated: Wed Nov 5 05:10:36 2025 | Cross-referenced by PHPXref 0.7.1 |