ytubes/core

关于此包的最新版本(0.0.11.1)没有可用的许可信息。

基本扩展

0.0.11.1 2017-11-03 10:25 UTC

This package is not auto-updated.

Last update: 2024-09-22 07:16:16 UTC


README

基本扩展

用于迁移

在控制台应用程序中:console/config/components.php中写入

'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
           'migrationPath' => [
                '@vendor/ytubes/core/migrations',
        ],
    ],
],

cron

同时,为了正常运行,还需要cron的必要工作者

\ytubes\cron\jobs\VisitorsHandler * * * * *
\ytubes\cron\jobs\SitemapBuilder */10 * * * *