Quote From : Brijesh March 18, 2015, 9:53 am Hi,
>> I'm trying to make a custom package for my custom built cms. How do I code in install.php so the installation will download latest zipped package from my remote server instead of I need to put it locally in all server (I will deploy this on multiple servers).
You can use the wget command via shell_exec() in the install.php to download the package from your site and then unzip it. However you will have to add atleast one file in your ZIP package on the local server. You can add the license file.
>> It also will get new updates (how do it auto update installed sites)?
You will need to prepare the upgrade.php and upgrade.xml to allow upgrades of your installations.
Hi Brijesh, thanks for the reply, much appreciate it.
There is another 2 question I need to clear up:
1)can a custom package have import function like pre-installed scripts (wordpress, joomla) ?
2)How do softaculous check my installed site's script version? based on a version file?
thanks
|