save thelia version
This commit is contained in:
@@ -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)
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user