I'm trying to make an installer for my files.
- I have the zip file online in a public directory
- Created (multiple times now) a xml installer
- uploaded the installer xml and tar.gz file
- updated my installatron settings with an "Extra installers" line
Now my new installation is visible but there is no extraction of the zip file to the directory.
My code for extracting the zip file is as follows:
- Code: Select all
$this->extract("main", ".");
// main is the archive ID in my init.xml file, inside the tar.gz
How can I modify the script that the files are extracted to my directory.
I've also tried:
- Code: Select all
$this->extract("main", $this->path);
but this works perfect:
- Code: Select all
$this->mkdir("temp");
$this->write("config.php", "This is a config file.");
