legalitaincomune/frontend
Frontend For Legalita in Comune Applications
dev-master
2020-05-05 16:07 UTC
Requires
- php:>=5.4.0
- elitedivision/amos-core:*
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This README would normally document whatever steps are necessary to get your application up and running.
What is this repository for?
Repository for Legalita in Comune Frontend Application
How do I get set up?
Composer.json
"legalitaincomune/frontend": "dev-master"
Configuration files - Amos4 Platforms
frontend/config/modules-others.php
'legalitaincomune-frontend' => [
'class' => 'legalitaincomune\frontend\Module',
]
frontend/config/main.php
return [
'id' => 'app-frontend',
'basePath' => dirname(__DIR__),
'controllerNamespace' => 'legalitaincomune\frontend\controllers',
'defaultRoute' => 'legalitaincomune-frontend/site/index',
'homeUrl' => 'legalitaincomune-frontend/site/index',
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
'bootstrap' => $bootstrap,
'components' => $components,
'modules' => $modules,
'params' => $params,
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
];
frontend/config/components-others.php
'urlManager' => [
'class' => 'yii\web\UrlManager',
'showScriptName' => false,
'enablePrettyUrl' => true,
'rules' => array(
'site/<action>' => 'legalitaincomune-frontend/site/<action>',
),
],