// Merge -> 10309
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10333 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -319,6 +319,12 @@ class ThemeInstallator extends Module
|
||||
*/
|
||||
public function getContent()
|
||||
{
|
||||
/* PrestaShop demo mode */
|
||||
if (_PS_MODE_DEMO_)
|
||||
{
|
||||
return '<div class="error">'.Tools::displayError('This functionnality has been disabled.').'</div>';
|
||||
|
||||
}
|
||||
self::init_defines();
|
||||
if (!Tools::isSubmit('cancelExport') AND $this->page == 'exportPage')
|
||||
return self::getContentExport();
|
||||
|
||||
Reference in New Issue
Block a user