Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Post-install setup scripts
Is there a preferred way to add 1 or more post-install setup scripts? For example, automating some admin-side options, that sort of thing.
I can run database queries manually, but since I tend to use the Textpattern auto-installer more often these days, I really like the idea of being able to drop a file into /textpattern/setup/post-install/
(or whatever) knowing they would run after the install is complete.
Thanks in advance for any advice.
Offline
Re: Post-install setup scripts
Y’know what, we have a post install routine that runs on update (put script in /update/custom/post-update*.php) but I don’t think it runs via the autoinstaller. Only on UI login. I might be wrong.
If we don’t have one, we could definitely do with a dedicated post-install routine during setup – manual and automated – so this is a great reminder. We should look into this.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Post-install setup scripts
Thanks, Bloke – appreciated!
Offline
Pages: 1