Is there predefined Akelos function that lists the controllers?
I'd like to create my own script that loops this, replacing xxxxx with each controller name.
./script/migrate xxxxxxx install
Thanks!
(The reasoning behind all of this is so when I copy all the files to the production server, I can then run this to update the MySQL schema)
Can be more elaborated, but Ak::dir can help you on that
foreach (Ak::dir(AK_APP_DIR.DS.'controllers', array('dirs'=>false)) as $filename) {
system('./script/migrate '.preg_replace('/_controller\.php$/', '', $filename).' install');
}
Thanks suthern, but this luckily for the project people like Kaste, Arno, Alan among others are doing more for Akelos than I'm doing lately.
Nice weekend for you as well!
1 to 4 of 4