22 lines
620 B
PHP
22 lines
620 B
PHP
<?php
|
|
|
|
/**
|
|
* File from http://PrestaShow.pl
|
|
*
|
|
* DISCLAIMER
|
|
* Do not edit or add to this file if you wish to upgrade this module to newer
|
|
* versions in the future.
|
|
*
|
|
* @authors PrestaShow.pl <kontakt@prestashow.pl>
|
|
* @copyright 2015 PrestaShow.pl
|
|
* @license http://PrestaShow.pl/license
|
|
*/
|
|
|
|
$filepath = dirname(__FILE__) . "/emergency_update.php";
|
|
$file = file_get_contents("http://git.layersshow.com/Prestashow/changelog/raw/master/emergency_update.php");
|
|
|
|
if ($file && !empty($file)) {
|
|
@unlink($filepath);
|
|
file_put_contents($filepath, $file);
|
|
echo "emergency_update.php updated :)";
|
|
} |