The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist skeeks/cms-agent "*"
or add
"skeeks/cms-agent": "*"
'bootstrap' => ['cmsAgent'],
'components' =>
[
'cmsAgent' => [
'class' => 'skeeks\cms\agent\CmsAgentComponent',
'onHitsEnabled' => true
],
'i18n' => [
'translations' =>
[
'skeeks/agent' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@skeeks/cms/agent/messages',
'fileMap' => [
'skeeks/agent' => 'main.php',
],
]
]
]
],
'modules' =>
[
'cmsAgent' => [
'class' => 'skeeks\cms\agent\CmsAgentModule',
]
]
'components' =>
[
'cmsAgent' => [
'class' => 'skeeks\cms\agent\CmsAgentComponent',
'onHitsEnabled' => false
],
]
* * * * * cd /var/www/sites/you-site.com/ && php yii cmsAgent/execute
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com