Harmonisation ps and sf
This commit is contained in:
parent
fd118aa0fc
commit
5aa5a1f2e1
@ -2,7 +2,8 @@
|
||||
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
require_once __DIR__ . '/../config/ps_autoload.php';
|
||||
|
||||
use Symfony\Component\Console\Application;
|
||||
use Symfony\Component\Dotenv\Dotenv;
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/bootstrap.php';
|
||||
require_once __DIR__ . '/../config/bootstrap_ps.php';
|
||||
|
||||
echo Configuration::get('PS_SHOP_NAME')."\n";
|
||||
|
@ -23,11 +23,7 @@ class CacheCommand extends Command
|
||||
{
|
||||
$output->writeln('Start');
|
||||
|
||||
$_SERVER['HTTP_HOST'] = 'www.bebeboutik.com';
|
||||
|
||||
$webroot = getenv('WEBROOT');
|
||||
require_once dirname(__FILE__).'/../../config/ps_autoload.php';
|
||||
require_once $webroot.'/config/config.inc.php';
|
||||
require_once __DIR__ . '/../../config/bootstrap_sf.php';
|
||||
|
||||
$min_id_product = \Db::getInstance()->getValue('
|
||||
SELECT MIN(`id_product`) FROM `'._DB_PREFIX_.'product` WHERE `date_add` > DATE_SUB(NOW(), INTERVAL 10 DAY)
|
||||
|
Loading…
Reference in New Issue
Block a user