Softaculous


Topic : Upgrade custom script


Posted By: infracom on April 5, 2016, 12:48 pm
Hello,

Is there a possibility that during the update, disable unpacking the main file of the script?

Now, when I run the updates, the program automatically extracts the .zip file. I want to just swapped the files from the directory, which will give the file upgrade.php.

My script is called: myscript
.zip File: myscript.zip

When the install script file myscript.zip the extracts. When I do the updates script file myscript.zip too extracts. How to disable the update?


Posted By: Brijesh on April 6, 2016, 2:19 pm | Post: 1
Hi,

You can disable unzipping the package during upgrade by adding the following tag to upgrade.xml
Code
<donotunzip>1</donotunzip>


before closing the </softupgrade> tag.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: infracom on April 6, 2016, 2:32 pm | Post: 2
Very thanks for your answer :) ))

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.