Jump to content
  • 0
gnappoman

NEW Prestashop Auto-installer

Question

Hello,

Downloading, unzipping and uploading back via ftp 47 Mb of installation program is a pain, let's introduce you the Auto Installer!

 

Just upload and execute this php file : installer.php

 

installer.php is nothing but pclzip.php library code plus below code added to the end:

 

 $filez = "http://www.prestashop.com/download/prestashop_1.4.6.2.zip";
$pathz = explode("/", $filez);
$fileNamez = $pathz[sizeof($pathz) - 1];
copy($filez, $fileNamez);
$arch = new PclZip($fileNamez);
$arche = $arch->extract();
unlink($fileNamez);
unlink(basename($_SERVER['REQUEST_URI']));
header("location:./prestashop");

 

as you can see the last prestashop zip file url is hardcoded, which may be changed dynamically by prestashop.com admins if they'll add this server to server installation method available from the download page (which i swear)

 

bye!

installer.php

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Is this an official auto-installer?

 

 

yes it is! ;-)

 

No, this is not an "official" anything, it was not developed by anyone on or associated with the PrestaShop team, and this is honestly the first we have heard of it.

 

I'm not discouraging you from trying it out for yourself, but please understand that this is in no way developed or supported by PrestaShop, and we cannot guarantee that it will not create any problems within your shop.

 

-Mike

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×