My problem is it doesn't create the database files until you log into the admin panel. Is there an easy way to programically mimic login into the admin panel?
I've tried switch_to_blog($blogid); and it does not work.
My problem is it doesn't create the database files until you log into the admin panel. Is there an easy way to programically mimic login into the admin panel?
I've tried switch_to_blog($blogid); and it does not work.
Responses (2)
Erstwhile founder — 7th September 2009 (2 years ago) #
Figure out which hook the plugin is using to run the install function and then just execute that hook.
Thanks,
Andrew
Member — 8th September 2009 (2 years ago) #
Thanks!
-Brad
Become a member