Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- http://www.imglib.endofinternet.net/
- imglib/include/lang/config.php
- */
- // Initialize config
- $CFG = (object) true;
- /*
- * Enable debug output to browser
- * In work configuration must be false with security reasons
- */
- $CFG->debug = false;
- /*
- * Full path to a directory which holds the images.
- */
- $CFG->imgUploadDir = realpath(dirname(__FILE__)) . '/../../../upload/pages';
- /*
- * An absolute or relative URL to the image folder WITHOUT end slash.
- * This url is used to generate the source URL of the image.
- */
- require_once('Zend/Config/Ini.php');
- $dynamic = new Zend_Config_Ini(realpath(dirname(__FILE__) . '/../../..') . '/application/configs/dynamic.ini');
- $CFG->imgURL = $dynamic->global->baseUrl . '/upload/pages';
Advertisement
Add Comment
Please, Sign In to add comment