Changeset 17649 for trunk/include
- Timestamp:
- Aug 27, 2012, 8:32:10 PM (12 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/common.inc.php
r15597 r17649 87 87 include(PHPWG_ROOT_PATH . 'include/config_default.inc.php'); 88 88 @include(PHPWG_ROOT_PATH. 'local/config/config.inc.php'); 89 if (!isset($conf['local_data_dir'])) $conf['local_data_dir'] = realpath(PHPWG_ROOT_PATH.$conf['data_location']); // temp 2.4 for backward compatibility90 89 91 90 defined('PWG_LOCAL_DIR') or define('PWG_LOCAL_DIR', 'local/'); 92 93 91 94 92 @include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR .'config/database.inc.php'); -
trunk/include/functions.inc.php
r17351 r17649 809 809 810 810 811 /* Returns the URL of the thumbnail to be displayed. If the element does not812 * have a thumbnail, the default mime image url is returned. The URL can be813 * sent to the browser, but not used in the php script.814 * @param array element_info assoc array containing element info from db815 * at least 'path' and 'id' should be present816 */817 function get_thumbnail_url($element_info)818 {819 return DerivativeImage::thumb_url($element_info);820 }821 822 811 /** 823 812 * fill the current user caddie with given elements, if not already in
Note: See TracChangeset
for help on using the changeset viewer.