Changement emplacmement templates
This commit is contained in:
@@ -26,7 +26,8 @@
|
|||||||
"symfony/validator": "2.2.*",
|
"symfony/validator": "2.2.*",
|
||||||
"symfony/security": "2.2.*",
|
"symfony/security": "2.2.*",
|
||||||
"symfony/templating": "2.2.*",
|
"symfony/templating": "2.2.*",
|
||||||
"noiselabs/smarty-bundle": "dev-master"
|
|
||||||
|
"smarty/smarty": "v3.1.13"
|
||||||
},
|
},
|
||||||
"require-dev" : {
|
"require-dev" : {
|
||||||
"fzaninotto/faker": "dev-master"
|
"fzaninotto/faker": "dev-master"
|
||||||
|
|||||||
658
composer.lock
generated
658
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -5,10 +5,12 @@
|
|||||||
* @file
|
* @file
|
||||||
* Functions needed for Thelia bootstrap
|
* Functions needed for Thelia bootstrap
|
||||||
*/
|
*/
|
||||||
define('THELIA_ROOT', realpath(__DIR__ .'/../') . "/");
|
define('THELIA_ROOT' , rtrim(realpath(__DIR__ .'/../'),'/') . "/");
|
||||||
define('THELIA_CONF_DIR', THELIA_ROOT . '/local/config');
|
define('THELIA_LOCAL_DIR' , THELIA_ROOT . '/local/');
|
||||||
define('THELIA_MODULE_DIR', THELIA_ROOT . '/local/modules');
|
define('THELIA_CONF_DIR' , THELIA_LOCAL_DIR . 'config/');
|
||||||
define('THELIA_TEMPLATE_DIR', THELIA_ROOT . 'templates/');
|
define('THELIA_MODULE_DIR' , THELIA_LOCAL_DIR . 'modules/');
|
||||||
|
define('THELIA_TEMPLATE_DIR' , THELIA_ROOT . '/web/templates/');
|
||||||
|
|
||||||
$loader = require __DIR__ . "/vendor/autoload.php";
|
$loader = require __DIR__ . "/vendor/autoload.php";
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -56,10 +56,12 @@
|
|||||||
<call method="setContext">
|
<call method="setContext">
|
||||||
<argument type="service" id="request.context"/>
|
<argument type="service" id="request.context"/>
|
||||||
</call>
|
</call>
|
||||||
|
<!--
|
||||||
<call method="add">
|
<call method="add">
|
||||||
<argument type="service" id="router.default_route"/>
|
<argument type="service" id="router.default_route"/>
|
||||||
<argument>-255</argument>
|
<argument>-255</argument>
|
||||||
</call>
|
</call>
|
||||||
|
-->
|
||||||
<call method="add">
|
<call method="add">
|
||||||
<argument type="service" id="router.admin"/>
|
<argument type="service" id="router.admin"/>
|
||||||
<argument>0</argument>
|
<argument>0</argument>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Thelia\Core\Thelia;
|
use Thelia\Core\Thelia;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user