Create Installer. Load Only for first time. i.e WordPress installer |
(04-30-2017, 08:35 AM)ardavan Wrote: Hi, Extend the CI_Controller ( https://www.codeigniter.com/userguide3/g...asses.html ) and write a method to look for a signal in the __construct() method of your controller, if it exists redirect() to your installer controller, this signal could be looking for a database or tables, looking for a file or folder permissions, whatever your application requires. Dont forget to take into account your installer controller so your signal check doesnt trigger for that controller otherwise you'll end up in a redirect loop. |
Messages In This Thread |
Create Installer. Load Only for first time. i.e WordPress installer - by ardavan - 04-30-2017, 08:35 AM
RE: Create Installer. Load Only for first time. i.e WordPress installer - by InsiteFX - 04-30-2017, 09:22 AM
RE: Create Installer. Load Only for first time. i.e WordPress installer - by skunkbad - 04-30-2017, 09:53 AM
RE: Create Installer. Load Only for first time. i.e WordPress installer - by webdev25 - 04-30-2017, 01:10 PM
RE: Create Installer. Load Only for first time. i.e WordPress installer - by creativecomputerconsulting - 05-25-2017, 09:21 AM
RE: Create Installer. Load Only for first time. i.e WordPress installer - by arisroyo - 07-02-2017, 02:13 AM
|