Jump to content

Jak smazat Aktuality PrestaShopu, New PrestaShop version available ... P1.3.7


yuriix

Recommended Posts

Stačí když v settings.inc.php přepíšeš zápis na poslední verzi:

 

define('_PS_VERSION_', '1.4.5.1');

 

a nebo: adminsložka/tabs/AdminHome.php a tohle smaž nebo zakomentuj:

 

 if (@ini_get('allow_url_fopen'))
 {
  $upgrade = new Upgrader();
  if($update = $upgrade->checkPSVersion())
echo '<div class="warning warn" style="margin-bottom:30px;"><h3>'.$this->l('New PrestaShop version available').' : <a style="text-decoration: underline;" href="'.$update['link'].'" target="_blank">'.$this->l('Download').' '.$update['name'].'</a> !</h3></div>';
 }
 else
 {
  echo '<p>'.$this->l('Update notification unavailable').'</p>';
  echo '<p> </p>';
  echo '<p>'.$this->l('To receive PrestaShop update warnings, you need to activate the <b>allow_url_fopen</b> command in your <b>php.ini</b> config file.').' [<a href="http://www.php.net/manual/'.$isoUser.'/ref.filesystem.php">'.$this->l('more info').'</a>]</p>';
  echo '<p>'.$this->l('If you don\'t know how to do that, please contact your host administrator !').'</p><br>';
 }

 

EDIT: Je to z verze 1.4.5, tak se může kod lišit.

Link to comment
Share on other sites

  • 3 weeks later...

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
×
×
  • Create New...