render('header.php'); ?> diff --git a/erp24/web/index.php b/erp24/web/index.php index c3ac62ee..7c1d232a 100644 --- a/erp24/web/index.php +++ b/erp24/web/index.php @@ -14,7 +14,7 @@ Yii::setAlias('@dist', dirname(__DIR__) . '/dist'); $app = (new yii\web\Application($config)); -$app->params['API2_TOKEN'] = $app->db->createCommand( - 'SELECT access_token FROM api_user WHERE "login"=\'erp\' LIMIT 1;')->queryAll()[0]['access_token'] ?? null; +//$app->params['API2_TOKEN'] = $app->db->createCommand( +// 'SELECT access_token FROM api_user WHERE "login"=\'erp\' LIMIT 1;')->queryAll()[0]['access_token'] ?? null; $app->run();