From ab920ae360d5cca446784675bb0401349c50d9fb Mon Sep 17 00:00:00 2001 From: shadlaws Date: Mon, 18 Feb 2013 19:12:45 +0100 Subject: #1749, 1754, 1901 - Eliminate incompatibility with Zend Guard Loader. - added MY_Kohana to provide wrapper for auto_load(), which loads dummy class when none found. - revised Bootstrap to load MY_Kohana. This is based on the patch described here: http://blog.teatime.com.tw/1/post/403 --- modules/gallery/libraries/MY_Kohana.php | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 modules/gallery/libraries/MY_Kohana.php (limited to 'modules') diff --git a/modules/gallery/libraries/MY_Kohana.php b/modules/gallery/libraries/MY_Kohana.php new file mode 100644 index 00000000..d344c8ed --- /dev/null +++ b/modules/gallery/libraries/MY_Kohana.php @@ -0,0 +1,45 @@ += 3)) { + // Load a dummy class instead. + eval("class $class {}"); + } + + // Return the same result. + return $found; + } +} \ No newline at end of file -- cgit v1.2.3