Dotclear


Ignore:
Timestamp:
10/21/13 09:08:36 (12 years ago)
Author:
Dsls
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.
Message:

Merge with 2.6

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/prepend.php

    r2313 r2468  
    193193if (!defined('DC_UPDATE_VERSION')) { 
    194194     define('DC_UPDATE_VERSION','stable'); 
     195} 
     196 
     197if (!defined('DC_ALLOW_MULTI_MODULES')) { 
     198     define('DC_ALLOW_MULTI_MODULES',false); 
    195199} 
    196200 
  • inc/prepend.php

    r2466 r2468  
    1212 
    1313/* ------------------------------------------------------------------------------------------- */ 
    14 #  ClearBricks, DotClear classes auto-loader 
     14#  ClearBricks, Twig, DotClear classes auto-loader 
    1515if (@is_dir('/usr/lib/clearbricks')) { 
    1616     define('CLEARBRICKS_PATH','/usr/lib/clearbricks'); 
     
    4646$__autoload['dcWorkspace']              = dirname(__FILE__).'/core/class.dc.workspace.php'; 
    4747$__autoload['dcPrefs']                  = dirname(__FILE__).'/core/class.dc.prefs.php'; 
     48$__autoload['dcTwigPage']               = dirname(__FILE__).'/core/class.dc.twig.page.php'; 
    4849$__autoload['dcStore']             = dirname(__FILE__).'/core/class.dc.store.php'; 
    4950$__autoload['dcStoreReader']       = dirname(__FILE__).'/core/class.dc.store.reader.php'; 
     
    5657$__autoload['rsExtUser']                = dirname(__FILE__).'/core/class.dc.rs.extensions.php'; 
    5758 
     59$__autoload['dcAdminContext']                = dirname(__FILE__).'/admin/class.dc.admincontext.php'; 
    5860$__autoload['dcMenu']                   = dirname(__FILE__).'/admin/class.dc.menu.php'; 
    5961$__autoload['dcPage']                   = dirname(__FILE__).'/admin/lib.dc.page.php'; 
     
    7476$__autoload['dcCommentsActionsPage']              = dirname(__FILE__).'/admin/actions/class.dcactioncomments.php'; 
    7577$__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 
     84foreach (array('dcFilterSet', 'dcFilter','dcFilterCombo','dcFilterText','dcFilterBoolean') as $c) { 
     85     $__autoload[$c] = dirname(__FILE__).'/admin/class.dc.filter.php'; 
     86} 
    7687 
    7788# Clearbricks extensions 
    7889html::$absolute_regs[] = '/(<param\s+name="movie"\s+value=")(.*?)(")/msu'; 
    7990html::$absolute_regs[] = '/(<param\s+name="FlashVars"\s+value=".*?(?:mp3|flv)=)(.*?)(&|")/msu'; 
     91 
     92if (@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 
     100if (!defined('TWIG_PATH') || !is_dir(TWIG_PATH)) { 
     101     exit('No Twig path defined'); 
     102} 
     103require TWIG_PATH.'/Autoloader.php'; 
     104Twig_Autoloader::register(); 
     105 
    80106/* ------------------------------------------------------------------------------------------- */ 
    81107 
     
    134160# Constants 
    135161define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 
    136 define('DC_VERSION','2.6-RC'); 
     162define('DC_VERSION','2.99-dev'); 
    137163define('DC_DIGESTS',dirname(__FILE__).'/digests'); 
    138164define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); 
     
    280306     # 60 : template processing error 
    281307     # 70 : blog is offline 
    282  
     308      
    283309     if (CLI_MODE) 
    284310     { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map