mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Require instead of include
This commit is contained in:
parent
485a3772b6
commit
c423ef810f
@ -25,7 +25,7 @@ class Provider
|
|||||||
{
|
{
|
||||||
$name = ucfirst(strtolower($name));
|
$name = ucfirst(strtolower($name));
|
||||||
|
|
||||||
include_once 'Provider/'.$name.'.php';
|
require_once 'Provider/'.$name.'.php';
|
||||||
|
|
||||||
return new $name($options);
|
return new $name($options);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user