Development

Changeset 7370

You must first sign up to be able to contribute.

Changeset 7370

Show
Ignore:
Timestamp:
02/06/08 15:00:37 (7 months ago)
Author:
fabien
Message:

moved sfCore::VERSION to SYMFONY_VERSION

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/autoload/sfCoreAutoload.class.php

    r7322 r7370  
    88 * file that was distributed with this source code. 
    99 */ 
     10 
     11/** 
     12 * The current symfony version. 
     13 */ 
     14define('SYMFONY_VERSION', '1.1.0-DEV'); 
    1015 
    1116/** 
  • branches/1.1/lib/command/sfSymfonyCommandApplication.class.php

    r7333 r7370  
    3737    // application 
    3838    $this->setName('symfony'); 
    39     $this->setVersion(sfCore::VERSION); 
     39    $this->setVersion(SYMFONY_VERSION); 
    4040 
    4141    $this->initializeEnvironment($this->options['symfony_lib_dir']); 
  • branches/1.1/lib/config/sfCompileConfigHandler.class.php

    r5062 r7370  
    9090 
    9191    // save current symfony release 
    92     file_put_contents(sfConfig::get('sf_config_cache_dir').'/VERSION', sfCore::VERSION); 
     92    file_put_contents(sfConfig::get('sf_config_cache_dir').'/VERSION', SYMFONY_VERSION); 
    9393 
    9494    return $retval; 
  • branches/1.1/lib/debug/sfWebDebug.class.php

    r7322 r7370  
    273273        <a href="#" onclick="sfWebDebugToggleMenu(); return false;">'.image_tag(sfConfig::get('sf_web_debug_web_dir').'/images/sf.png').'</a> 
    274274        <ul id="sfWebDebugDetails" class="menu"> 
    275           <li>'.sfCore::VERSION.'</li> 
     275          <li>'.SYMFONY_VERSION.'</li> 
    276276          <li><a href="#" onclick="sfWebDebugShowDetailsFor(\'sfWebDebugConfig\'); return false;">'.image_tag(sfConfig::get('sf_web_debug_web_dir').'/images/config.png').' vars &amp; config</a></li> 
    277277          '.$cacheLink.' 
  • branches/1.1/lib/exception/data/exception.php

    r7294 r7370  
    5151 
    5252  <p id="footer"> 
    53     symfony v.<?php echo sfCore::VERSION ?> - php <?php echo PHP_VERSION ?><br /> 
     53    symfony v.<?php echo SYMFONY_VERSION ?> - php <?php echo PHP_VERSION ?><br /> 
    5454    for help resolving this issue, please visit <a href="http://www.symfony-project.org/">http://www.symfony-project.org/</a>. 
    5555  </p> 
  • branches/1.1/lib/plugin/sfSymfonyPluginManager.class.php

    r6490 r7370  
    135135    $symfony->setAPIVersion('1.1.0'); 
    136136    $symfony->setAPIStability('stable'); 
    137     $symfony->setReleaseVersion(preg_replace('/\-\w+$/', '', sfCore::VERSION)); 
    138     $symfony->setReleaseStability(false === strpos(sfCore::VERSION, 'DEV') ? 'stable' : 'beta'); 
     137    $symfony->setReleaseVersion(preg_replace('/\-\w+$/', '', SYMFONY_VERSION)); 
     138    $symfony->setReleaseStability(false === strpos(SYMFONY_VERSION, 'DEV') ? 'stable' : 'beta'); 
    139139    $symfony->setDate(date('Y-m-d')); 
    140140    $symfony->setDescription('symfony'); 
  • branches/1.1/lib/util/sfCore.class.php

    r7335 r7370  
    1919class sfCore 
    2020{ 
    21   /** 
    22    * The current symfony version. 
    23    */ 
    24   const VERSION = '1.1.0-DEV'; 
    25  
    2621  /** 
    2722   * Bootstraps the symfony environment. 
  • branches/1.1/test/bin/loc.php

    r4854 r7370  
    55require_once($root_dir.'/lib/util/sfFinder.class.php'); 
    66 
     7require_once($root_dir.'/lib/util/sfCoreAutoload.class.php'); 
    78require_once($root_dir.'/lib/util/sfCore.class.php'); 
    8 $version = sfCore::VERSION; 
     9$version = SYMFONY_VERSION; 
    910 
    1011printf("symfony LOC (%s)\n", $version);