i have two apps with this structure
app1/
controllers/
AAAcontroller.php
sessioncontroller.php
/app2
/controllers
BBBcontroller.php
sessioncontroller.php
i would like to use the same sessioncontroller in both applications reusing code
something like this:
common/
controllers/
sessioncontroller.php
app1/
controllers/
AAAcontroller.php
app2/
controllers/
BBBcontroller.php
this not work, at main.php
'import'=>array(
'common.components.*', <this work
'common.extensions.*', <this work
'common.lib.*', <this work
'common.controllers.*', <this not work
),
any idea how to approach it?
multiple controller folders?