[pLog-svn] r3731 - plog/trunk/class/plugin
pwestbro at devel.lifetype.net
pwestbro at devel.lifetype.net
Mon Jul 17 04:51:08 GMT 2006
Author: pwestbro
Date: 2006-07-17 04:51:06 +0000 (Mon, 17 Jul 2006)
New Revision: 3731
Modified:
plog/trunk/class/plugin/pluginbase.class.php
Log:
Make sure the throw and Exception is declared before being used.
Modified: plog/trunk/class/plugin/pluginbase.class.php
===================================================================
--- plog/trunk/class/plugin/pluginbase.class.php 2006-07-17 03:03:32 UTC (rev 3730)
+++ plog/trunk/class/plugin/pluginbase.class.php 2006-07-17 04:51:06 UTC (rev 3731)
@@ -327,6 +327,7 @@
*/
function process( $eventType, $params )
{
+ include_once( PLOG_CLASS_PATH."class/object/exception.class.php" );
throw( new Exception( "Plugin ".$this->id." registered for event $eventType but did not provide its own process() method!" ));
die();
}
More information about the pLog-svn
mailing list