[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-cvs
Subject: [SM-CVS] SF.net SVN: squirrelmail:[14934] branches/SM-1_4-STABLE/squirrelmail/src/ configtest.php
From: pdontthink--- via squirrelmail-cvs <squirrelmail-cvs () lists ! sourceforge ! net>
Date: 2021-12-07 19:24:43
Message-ID: 1638905083.731174.19188 () sfp-scm-5 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]
Revision: 14934
http://sourceforge.net/p/squirrelmail/code/14934
Author: pdontthink
Date: 2021-12-07 19:24:43 +0000 (Tue, 07 Dec 2021)
Log Message:
-----------
Mild improvement in plugin detection
Modified Paths:
--------------
branches/SM-1_4-STABLE/squirrelmail/src/configtest.php
Modified: branches/SM-1_4-STABLE/squirrelmail/src/configtest.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/configtest.php 2021-11-21 09:24:22 UTC \
(rev 14933)
+++ branches/SM-1_4-STABLE/squirrelmail/src/configtest.php 2021-12-07 19:24:43 UTC \
(rev 14934) @@ -291,7 +291,7 @@
/* check plugins and themes */
-if (isset($plugins[0])) {
+if (!empty($plugins) && is_array($plugins)) {
foreach($plugins as $plugin) {
if(!file_exists(SM_PATH .'plugins/'.$plugin)) {
do_err('You have enabled the <i>'.$plugin.'</i> plugin, but I cannot \
find it.', FALSE); @@ -326,7 +326,7 @@
echo $IND . "Plugins OK.<br />\n";
}
} else {
- echo $IND . "Plugins are not enabled in config.<br />\n";
+ echo $IND . "Plugins are not correctly enabled in the configuration file.<br \
/>\n"; }
foreach($theme as $thm) {
if(!file_exists($thm['PATH'])) {
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic