Skip to content
Browse files

Hidden require_once there. Removing it

  • Loading branch information...
1 parent 9cfe087 commit 127f82f9d48bc9e8b26d4b4a63b2cb266241f80f @grEvenX grEvenX committed Mar 23, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 min/lib/Minify/Controller/Base.php
View
3 min/lib/Minify/Controller/Base.php
@@ -100,8 +100,7 @@ public function loadMinifier($minifierCallback)
if (is_array($minifierCallback)
&& is_string($minifierCallback[0])
&& !class_exists($minifierCallback[0], false)) {
-
- require str_replace('_', '/', $minifierCallback[0]) . '.php';
+ throw new Exception('Autoload failed. Could not load class: ' . $minifierCallback[0]);
}
}

0 comments on commit 127f82f

Please sign in to comment.
Something went wrong with that request. Please try again.