Bug in plugin detection Smarty 2.3.0?

From: Date: Tue, 10 Dec 2002 23:02:13 +0000
Subject: Bug in plugin detection Smarty 2.3.0?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6723@lists.php.net to get a copy of this message
Hi, I just created a plugin, but erroneously named the file function.myplugin.inc instead of function.myplugin.php. When this is the case, Smarty just stops executing somewhere, without giving an error. I've traced it back to the following lines: if ($found = ($plugin_file != false)) {
                $message = "could not load plugin file '$type.$name.php'\n";
            }
(somewhere around line 1850 in Smarty.class.php) If $plugin_file is false (not found), then this if-statement is false as well, and the message is not displayed. I think this is a bug. I'm using PHP 4.2.2. Greetings, Ivo

« previous php.smarty.general (#6723) next »