save thelia version

This commit is contained in:
Manuel Raynaud
2013-10-25 09:10:27 +02:00
parent ee1ba49aa8
commit 373fe13287
4 changed files with 9 additions and 5 deletions

View File

@@ -23,6 +23,7 @@
namespace Thelia\Core\Template;
use Thelia\Core\Thelia;
use Thelia\Model\ConfigQuery;
use Thelia\Core\HttpFoundation\Request;
use Thelia\Form\BaseForm;
@@ -39,7 +40,7 @@ class ParserContext implements \IteratorAggregate
public function __construct(Request $request)
{
// Setup basic variables
$this->set('THELIA_VERSION' , ConfigQuery::read('thelia_version', 'undefined'))
$this->set('THELIA_VERSION' , Thelia::THELIA_VERSION)
;
}

View File

@@ -54,9 +54,7 @@ use Propel\Runtime\Connection\ConnectionManagerSingle;
class Thelia extends Kernel
{
const THELIA_VERSION = 0.1;
protected $tpexConfig;
const THELIA_VERSION = '2.0.0-beta1';
public function init()
{