Require instead of include

This commit is contained in:
Alex Bilbie 2012-09-04 12:33:17 +01:00
parent 485a3772b6
commit c423ef810f

View File

@ -25,7 +25,7 @@ class Provider
{
$name = ucfirst(strtolower($name));
include_once 'Provider/'.$name.'.php';
require_once 'Provider/'.$name.'.php';
return new $name($options);
}