Jump to content

[SOLVED] menghapus link prestashop


Recommended Posts

edit file ../controllers/admin/AdminHomeController.php

Hapus atau PHP commenting script yang ada dalam // DISCOVER PRESTASHOP

 

/********************** ini commenting php jadi script tidak akan dieksekusi **********************
       // DISCOVER PRESTASHOP
       $result['discover_prestashop'] = '<div id="block_tips">'.$this->getBlockDiscover().'</div>';

       if (@fsockopen('api.prestashop.com', 80, $errno, $errst, AdminHomeController::TIPS_TIMEOUT))
           $result['discover_prestashop'] .= '<div class="row-news"><div id="block_discover"><iframe frameborder="no" style="margin: 0px; padding: 0px; width: 100%; height:300px; overflow:hidden;" src="'.$protocol.'://api.prestashop.com/rss2/news2.php?v='._PS_VERSION_.'&lang='.$isoUser.'"></iframe></div>';
       else
           $result['discover_prestashop'] .= '';
********************** ini commenting php jadi script tidak akan dieksekusi **********************/

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