Is it possible to put and run modules in yiiboilerplate common section? If it could, how it configured?
Thanks,
Is it possible to put and run modules in yiiboilerplate common section? If it could, how it configured?
Thanks,
Just configure the module with a path alias, as far as I can tell there is an alias root
which points to the project root.
'foo' => array(
'class' => 'root.common.modules.foo.FooModule',
),
You may also have a look at this config file from my boilerplate, which does the same.