if (!function_exists('http_build_str') || !function_exists('http_build_url')) { require BOOTSTRAPPATH . 'http_build_url.php'; } /* * -------------------------------------------------------------------- * Fundamental functions. * -------------------------------------------------------------------- */ require BOOTSTRAPPATH . 'arrays.php'; require BOOTSTRAPPATH . 'is_serialized.php'; /* * -------------------------------------------------------------------- * A custom PHP5-style autoloader * -------------------------------------------------------------------- */ require BOOTSTRAPPATH . 'autoload.php'; /* * -------------------------------------------------------------------- * IDN functions - fallback PHP implementations. * -------------------------------------------------------------------- */ if (!defined('INTL_IDNA_VARIANT_2003')) { require BOOTSTRAPPATH . 'idn.php'; } /* *--------------------------------------------------------------- * URL-based detection, stored within a global variable. *--------------------------------------------------------------- */ $DETECT_URL = detect_url();
| development and MUST NOT be used in production! | | If you need to allow multiple domains, remember that this file is still | a PHP script and you can easily do that on your own. | */ // Modified by Ivan Tcholakov, 01-NOV-2015. // A customized URL detector is used here. //$config['base_url'] = ''; $_helper_dir = APPPATH . 'helpers/'; require_once $_helper_dir . 'resolve_path.php'; require_once $_helper_dir . 'merge_paths.php'; require_once $_helper_dir . 'detect_https.php'; require_once $_helper_dir . 'detect_host.php'; require_once $_helper_dir . 'detect_url.php'; $_detect_url = detect_url(); $config['base_url'] = $_detect_url['base_url']; // /* |-------------------------------------------------------------------------- | Index File |-------------------------------------------------------------------------- | | Typically this will be your index.php file, unless you've renamed it to | something else. If you are using mod_rewrite to remove the page set this | variable so that it is blank. | */ $config['index_page'] = ''; /* |--------------------------------------------------------------------------