Changeset 782:01efbf050a8a for inc/prepend.php
- Timestamp:
- 12/06/11 11:43:14 (14 years ago)
- Branch:
- formfilters
- Parents:
- 781:b509ac00bf4a (diff), 779:58c45f1b96e5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/prepend.php
r776 r782 55 55 $__autoload['dcPage'] = dirname(__FILE__).'/admin/lib.dc.page.php'; 56 56 $__autoload['adminGenericList'] = dirname(__FILE__).'/admin/lib.pager.php'; 57 $__autoload['adminPostList'] = dirname(__FILE__).'/admin/lib.pager.php'; 58 $__autoload['adminPostMiniList'] = dirname(__FILE__).'/admin/lib.pager.php'; 59 $__autoload['adminCommentList'] = dirname(__FILE__).'/admin/lib.pager.php'; 60 $__autoload['adminUserList'] = dirname(__FILE__).'/admin/lib.pager.php'; 57 $__autoload['adminItemsList'] = dirname(__FILE__).'/admin/class.dc.list.php'; 58 $__autoload['adminPostList'] = dirname(__FILE__).'/admin/class.dc.list.php'; 59 $__autoload['adminPostMiniList'] = dirname(__FILE__).'/admin/class.dc.list.php'; 60 $__autoload['adminCommentList'] = dirname(__FILE__).'/admin/class.dc.list.php'; 61 $__autoload['adminUserList'] = dirname(__FILE__).'/admin/class.dc.list.php'; 62 $__autoload['adminBlogList'] = dirname(__FILE__).'/admin/class.dc.list.php'; 63 $__autoload['adminBlogPermissionsList'] = dirname(__FILE__).'/admin/class.dc.list.php'; 64 $__autoload['dcFilterSet'] = dirname(__FILE__).'/admin/class.dc.filter.php'; 65 $__autoload['dcFilter'] = dirname(__FILE__).'/admin/class.dc.filter.php'; 66 $__autoload['textFilter'] = dirname(__FILE__).'/admin/class.dc.filter.php'; 67 $__autoload['comboFilter'] = dirname(__FILE__).'/admin/class.dc.filter.php'; 68 $__autoload['dcFilterExtraInterface'] = dirname(__FILE__).'/admin/class.dc.filter.php'; 61 69 62 70 $__autoload['dcTemplate'] = dirname(__FILE__).'/public/class.dc.template.php'; -
inc/prepend.php
r764 r782 4 4 # This file is part of Dotclear 2. 5 5 # 6 # Copyright (c) 2003-201 0Olivier Meunier & Association Dotclear6 # Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear 7 7 # Licensed under the GPL version 2.0 license. 8 8 # See LICENSE file or … … 10 10 # 11 11 # -- END LICENSE BLOCK ----------------------------------------- 12 13 //*== DC_DEBUG ==14 ini_set('display_errors',true);15 error_reporting(E_ALL | E_STRICT);16 define('DC_DEBUG',true);17 //*/18 19 if (!defined('DC_DEBUG')) {20 define('DC_DEBUG',false);21 }22 12 23 13 /* ------------------------------------------------------------------------------------------- */ … … 41 31 $__autoload['dcCategories'] = dirname(__FILE__).'/core/class.dc.categories.php'; 42 32 $__autoload['dcError'] = dirname(__FILE__).'/core/class.dc.error.php'; 43 $__autoload['dcGenericMeta'] = dirname(__FILE__).'/core/class.dc.genmeta.php';44 33 $__autoload['dcMeta'] = dirname(__FILE__).'/core/class.dc.meta.php'; 45 $__autoload['dcUserMeta'] = dirname(__FILE__).'/core/class.dc.usermeta.php';46 34 $__autoload['dcMedia'] = dirname(__FILE__).'/core/class.dc.media.php'; 35 $__autoload['dcPostMedia'] = dirname(__FILE__).'/core/class.dc.postmedia.php'; 47 36 $__autoload['dcModules'] = dirname(__FILE__).'/core/class.dc.modules.php'; 48 37 $__autoload['dcThemes'] = dirname(__FILE__).'/core/class.dc.themes.php'; … … 126 115 require DC_RC_PATH; 127 116 117 //*== DC_DEBUG == 118 if (!defined('DC_DEBUG')) { 119 define('DC_DEBUG',true); 120 } 121 if (DC_DEBUG) { 122 ini_set('display_errors',true); 123 error_reporting(E_ALL | E_STRICT); 124 } 125 //*/ 126 127 if (!defined('DC_DEBUG')) { 128 define('DC_DEBUG',false); 129 } 130 128 131 # Constants 129 132 define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 130 define('DC_VERSION','2. 3.1');133 define('DC_VERSION','2.4.0'); 131 134 define('DC_DIGESTS',dirname(__FILE__).'/digests'); 132 135 define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); … … 218 221 $core->url->register('xmlrpc','xmlrpc','^xmlrpc/(.+)$',array('dcUrlHandlers','xmlrpc')); 219 222 220 $core->setPostType('post','post.php?id=%d',$core->url->get Base('post').'/%s');223 $core->setPostType('post','post.php?id=%d',$core->url->getURLFor('post','%s')); 221 224 222 225 # Store upload_max_filesize in bytes
Note: See TracChangeset
for help on using the changeset viewer.