summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gallery/helpers/gallery.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/gallery/helpers/gallery.php b/modules/gallery/helpers/gallery.php
index b7c68ef8..50e2c43b 100644
--- a/modules/gallery/helpers/gallery.php
+++ b/modules/gallery/helpers/gallery.php
@@ -94,14 +94,11 @@ class gallery_Core {
$file_name = Kohana::find_file($directory, $file_name, $required, substr($ext, 1));
if (!$file_name) {
if (file_exists(DOCROOT . "lib/$directory/$file")) {
- Kohana::log("alert",print_r(print_r(array($directory, $file),1) . " ==> lib/$directory/$file",1));
return "lib/$directory/$file";
} else if (file_exists(DOCROOT . "lib/$file")) {
- Kohana::log("alert",print_r(print_r(array($directory, $file),1) . " ==> lib/$file",1));
return "lib/$file";
}
}
- Kohana::log("alert",print_r(print_r(array($directory, $file),1) . " ==> $file_name",1));
if (is_string($file_name)) {
// make relative to DOCROOT