|
From: <gem...@li...> - 2012-09-07 07:25:39
|
Revision: 933
http://gemstracker.svn.sourceforge.net/gemstracker/?rev=933&view=rev
Author: mennodekker
Date: 2012-09-07 07:25:28 +0000 (Fri, 07 Sep 2012)
Log Message:
-----------
Fallback EventLoader should use lowercased path
Modified Paths:
--------------
trunk/library/classes/Gems/Events.php
Modified: trunk/library/classes/Gems/Events.php
===================================================================
--- trunk/library/classes/Gems/Events.php 2012-09-06 14:26:23 UTC (rev 932)
+++ trunk/library/classes/Gems/Events.php 2012-09-07 07:25:28 UTC (rev 933)
@@ -182,7 +182,7 @@
if (! class_exists($eventName, true)) {
// Autoload is used for Zend standard defined classnames,
// so if the class is not autoloaded, define the path here.
- $filename = APPLICATION_PATH . '/' . self::EVENTS_DIR . 's/' . $eventType . '/' . $eventName . '.php';
+ $filename = APPLICATION_PATH . '/' . strtolower(self::EVENTS_DIR . 's/' . $eventType) . '/' . $eventName . '.php';
if (! file_exists($filename)) {
throw new Gems_Exception_Coding("The event '$eventName' of type '$eventType' does not exist at location: $filename.");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|