/* * This line loads the application's config file. * * The first argument is the path to the config file itself. This may be absolute, * or relative to the base path given above. * * The second argument dictates how the config file is cached. If true, the * processed config will be cached by its filename. If it's a string, it will * be cached by that string. If false, it won't be cached at all. The * recommended value is "true" unless there's a chance you'll be loading * multiple config files with the same name. * * If the third argument is true, it will check to see if the config file has been * modified every time the page is loaded, and, when a change is detected, update the * cached version of the file. In production, this value can be set to false to save * CPU cycles and stat() calls. To make config changes take effect in this case, * simply delete the cached config file. */ Config::addConfig('config' . DIRECTORY_SEPARATOR . 'config.ini.php', true, true); /* * The rest of this file can be used to override user-specified config settings or * set config new items that shouldn't be presented to the user. */ // The folder, relative to the base path, where views for the View library are stored. Config::setVal("view", "folder", "themes" . DIRECTORY_SEPARATOR . "default"); // The URL path to add to the general->app_url config value to target view files // within the web browser. This is usually the same as the folder above. Config::setVal("view", "url_path", "themes/default"); // Alternatively, you can set an entirely new URL as the view root. This is only // needed in special circumstances. Do not set this unless you know you need it. // Config::setVal("view", "root_url", "http://cloud.domain.com/theme/default");
*** absolute, or relative to the base path given above. *** *** The second argument dictates how the config file is cached. If true, the *** processed config will be cached by its filename. If it's a string, it *** will be cached by that string. If false, it won't be cached at all. The *** recommended value is "true" unless there's a chance you'll be loading *** multiple config files with the same name. *** *** If the third argument is true, it will check to see if the config file *** has been modified every time the page is loaded, and, when a change is *** detected, update the cached version of the file. In production, this *** value can be set to false to save CPU cycles and stat() calls. To make *** config changes take effect in this case, simply delete the cached config *** file. ***/ Config::addConfig('config/config.ini.php', true, true); /*# The rest of this file can be used to override user-specified config *# settings or to set new config items that shouldn't be presented to the *# user. What follows are the values Hydrogen needs from the programmer *# (not the user -- user-specified values should all be in the config file *# defind above). Read through and set the appropriate values for each, but *# feel free to add any other app-specific configuration values that the *# user shouldn't change. */ /*** [view] -> engine *** Default if not set: "hydrogen" *** *** The view engine that should be used. The default is "hydrogen", the *** built-in super-fast django-style templating engine. Uncomment this line *** to change it to "purephp", which is raw PHP code for your views. ***/