Changeset 2468:d7fda5a0bd39 for inc/prepend.php
- Timestamp:
- 10/21/13 09:08:36 (12 years ago)
- Branch:
- twig
- Children:
- 2593:6741802596a0, 2609:c26642f775e2
- Parents:
- 2321:3ab5e6c3d301 (diff), 2466:e42d3233f080 (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
r2313 r2468 193 193 if (!defined('DC_UPDATE_VERSION')) { 194 194 define('DC_UPDATE_VERSION','stable'); 195 } 196 197 if (!defined('DC_ALLOW_MULTI_MODULES')) { 198 define('DC_ALLOW_MULTI_MODULES',false); 195 199 } 196 200 -
inc/prepend.php
r2466 r2468 12 12 13 13 /* ------------------------------------------------------------------------------------------- */ 14 # ClearBricks, DotClear classes auto-loader14 # ClearBricks, Twig, DotClear classes auto-loader 15 15 if (@is_dir('/usr/lib/clearbricks')) { 16 16 define('CLEARBRICKS_PATH','/usr/lib/clearbricks'); … … 46 46 $__autoload['dcWorkspace'] = dirname(__FILE__).'/core/class.dc.workspace.php'; 47 47 $__autoload['dcPrefs'] = dirname(__FILE__).'/core/class.dc.prefs.php'; 48 $__autoload['dcTwigPage'] = dirname(__FILE__).'/core/class.dc.twig.page.php'; 48 49 $__autoload['dcStore'] = dirname(__FILE__).'/core/class.dc.store.php'; 49 50 $__autoload['dcStoreReader'] = dirname(__FILE__).'/core/class.dc.store.reader.php'; … … 56 57 $__autoload['rsExtUser'] = dirname(__FILE__).'/core/class.dc.rs.extensions.php'; 57 58 59 $__autoload['dcAdminContext'] = dirname(__FILE__).'/admin/class.dc.admincontext.php'; 58 60 $__autoload['dcMenu'] = dirname(__FILE__).'/admin/class.dc.menu.php'; 59 61 $__autoload['dcPage'] = dirname(__FILE__).'/admin/lib.dc.page.php'; … … 74 76 $__autoload['dcCommentsActionsPage'] = dirname(__FILE__).'/admin/actions/class.dcactioncomments.php'; 75 77 $__autoload['dcActionsPage'] = dirname(__FILE__).'/admin/actions/class.dcaction.php'; 78 $__autoload['dcForm'] = dirname(__FILE__).'/admin/class.dc.form.php'; 79 $__autoload['dcFormExtension'] = dirname(__FILE__).'/admin/class.dc.form.php'; 80 $__autoload['dcTabExtension'] = dirname(__FILE__).'/admin/class.dc.tab.php'; 81 $__autoload['dcItemList'] = dirname(__FILE__).'/admin/class.dc.list.php'; 82 $__autoload['dcListFetcher'] = dirname(__FILE__).'/admin/class.dc.list.php'; 83 84 foreach (array('dcFilterSet', 'dcFilter','dcFilterCombo','dcFilterText','dcFilterBoolean') as $c) { 85 $__autoload[$c] = dirname(__FILE__).'/admin/class.dc.filter.php'; 86 } 76 87 77 88 # Clearbricks extensions 78 89 html::$absolute_regs[] = '/(<param\s+name="movie"\s+value=")(.*?)(")/msu'; 79 90 html::$absolute_regs[] = '/(<param\s+name="FlashVars"\s+value=".*?(?:mp3|flv)=)(.*?)(&|")/msu'; 91 92 if (@is_dir('/usr/lib/twig')) { 93 define('TWIG_PATH','/usr/lib/Twig'); 94 } elseif (is_dir(dirname(__FILE__).'/libs/Twig')) { 95 define('TWIG_PATH',dirname(__FILE__).'/libs/Twig'); 96 } elseif (isset($_SERVER['TWIG_PATH']) && is_dir($_SERVER['TWIG_PATH'])) { 97 define('TWIG_PATH',$_SERVER['TWIG_PATH']); 98 } 99 100 if (!defined('TWIG_PATH') || !is_dir(TWIG_PATH)) { 101 exit('No Twig path defined'); 102 } 103 require TWIG_PATH.'/Autoloader.php'; 104 Twig_Autoloader::register(); 105 80 106 /* ------------------------------------------------------------------------------------------- */ 81 107 … … 134 160 # Constants 135 161 define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 136 define('DC_VERSION','2. 6-RC');162 define('DC_VERSION','2.99-dev'); 137 163 define('DC_DIGESTS',dirname(__FILE__).'/digests'); 138 164 define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); … … 280 306 # 60 : template processing error 281 307 # 70 : blog is offline 282 308 283 309 if (CLI_MODE) 284 310 {
Note: See TracChangeset
for help on using the changeset viewer.