From f4ff252b2e6f86a5b3d3c8f5d94271f8e3aaba3b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 24 May 2011 08:15:07 +0000 Subject: [PATCH] Exclude concatpdf --- htdocs/public/demo/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php index d5dfbabd89b..94dc8bcf3c8 100644 --- a/htdocs/public/demo/index.php +++ b/htdocs/public/demo/index.php @@ -66,7 +66,7 @@ $alwaysuncheckedmodules=array('paybox','paypal','filemanager','google','scanner' $alwayshiddenmodules=array('accounting','barcode','bookmark','boutique','clicktodial','document','domain','externalrss','externalsite','fckeditor','ftp','geoipmaxmind','gravatar','label','ldap','mantis','memcached','notification', 'syslog','user','webservices', // Extended modules - 'awstats','bittorrent','cabinetmed','filemanager','monitoring','nltechno','ovh','phenix','phpsysinfo','postnuke','submiteverywhere', + 'awstats','bittorrent','cabinetmed','concatpdf','filemanager','monitoring','nltechno','ovh','phenix','phpsysinfo','postnuke','submiteverywhere', 'survey','thomsonphonebook','voyage','webcalendar','webmail','zipautofillfr'); // Search modules @@ -166,9 +166,11 @@ if (GETPOST("action") == 'gotodemo') if (empty($_POST[$modulekeyname]) && empty($val->always_enabled) && ! in_array($modulekeyname,$alwayscheckedmodules)) { $disablestring.=$modulekeyname.','; + if ($modulekeyname=='propale') $disablestring.='propal,'; } } + // Do redirect to login page if ($disablestring) {