PHP Installation file issue

/ Published in: PHP
Save to your folder(s)

I created myself an install file using PHP. What this file does is creates folders and puts in each folder the corresponding file from the zip. Afterwards these files are moved to other folders which are already created or will be created by the install file. (I know this might sound as a stupid procces instead of just moving the files to the folders the first place but theres a reason for this).

The problem is that when I install the zip it creates the folders with the files and creates the newer folders where the files are supposed to be move but I have to install the zip two or three times for all of the proccess to be done properly.

Why could this be?

Here is the file I have and hopefully I have explained myself :).

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.