contributions/lib.imagetools/start.inc.php
Go to the documentation of this file.00001 <?php 00002 00003 /** 00004 * @defgroup ImageTools 00005 * @ingroup Libs 00006 * 00007 * Wraps GD and (sometime) other image manipulation libraries in a custom interface target on higher level 00008 * image manipulation tasks, like fitting an image into a given space. 00009 */ 00010 00011 00012 /** 00013 * Config class for image tools 00014 * 00015 * @ingroup ImageTools 00016 */ 00017 class ConfigImageTools { 00018 /** 00019 * Enable the test controller 00020 */ 00021 const IS_TEST_CONTROLLER_ENABLED = 'IMAGETOOLS_IS_TEST_CONTROLLER_ENABLED'; 00022 } 00023 00024 Config::set_feature_from_constant( 00025 ConfigImageTools::IS_TEST_CONTROLLER_ENABLED, 00026 'APP_IMAGETOOLS_IS_TEST_CONTROLLER_ENABLED', 00027 APP_TESTMODE 00028 ); 00029