defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');
//prod
require __DIR__ . '/../yii/vendor/autoload.php';
require __DIR__ . '/../yii/vendor/yiisoft/yii2/Yii.php';
require __DIR__ . '/../yii/common/config/bootstrap.php';
require __DIR__ . '/../yii/frontend/config/bootstrap.php';
$config = yii\helpers\ArrayHelper::merge(
require __DIR__ . '/../yii/common/config/main.php',
require __DIR__ . '/../yii/common/config/main-local.php',
require __DIR__ . '/../yii/frontend/config/main.php',
require __DIR__ . '/../yii/frontend/config/main-local.php'
);
(new yii\web\Application($config))->run();
SELECT *
FROM table5
INNER JOIN table7
ON table1.url = table2.url
AND (
table1.status != table2.status
OR table1.noffolow != table2.noffolow
OR table1.cannonical != table2.cannonical
OR table1.title != table2.title
OR table1.description != table2.description
)
WHERE table1.id_project= %s
SELECT *
FROM table1
LEFT JOIN table2
ON table1.url = table2.url
WHERE
table1.id_project = %s
AND table2.url is NULL
SELECT *
FROM table2
LEFT JOIN table1
ON table2.url = table1.url
WHERE
table2.id_project = %s
AND table1.url is NULL
cursor.executemany("""
UPDATE table1
SET %s = %s
WHERE id = %s
AND url = %s
""", listUpdates)
var documentTask = BrowsingContext.New(config).OpenAsync(address);
//Task.Wait(documentTask);
var document = documentTask.Result;
2) на backend-е я тоже пробовал, обращался так site.com/admin/gii, сейчас обращаюсь вот так site.com/gii результат такой, же