summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-10-06 23:05:35 -0700
committerBharat Mediratta <bharat@menalto.com>2009-10-06 23:05:35 -0700
commit13fb033235a057445d58f5c2663951d1e0738423 (patch)
treea0dd754edef3902a34007c442253082898b404f2 /modules/gallery/helpers/gallery.php
parentfcbce09fc4dc85a47a78ce01abe801225beb9a94 (diff)
Remove debugging lines (thanks talmdal!)
Diffstat (limited to 'modules/gallery/helpers/gallery.php')
-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