activating a module through a php shell script
|
reynan
Joined: 2003-09-10
Posts: 49 |
Posted: Mon, 2007-03-26 15:59
|
|
hello, Im trying to make a php shell script that will install a module in my gallery. I'm still using the API of gallery found in core.PluginCallback::handleCallback. It seems i was able to install the plugins (accdg to the mysql log, it inserts into the PluginParameterMap and so on.. ) but in the end. It rollback. What does it take to rollback the transactions? Cant seems to install the module using the a shell script. regards, |
|
| Login or register to post comments |

Posts: 32506
include embed.php
GalleryEmbed::init fullInit
loadPlugin
$plugin->installOrUpgrade
GalleryEmbed::done (commit transaction)
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 49
oops. i forgot to commit the transaction.
it all works now... thanks.