forked from rclanan/sentry
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbootstrap.php
39 lines (32 loc) · 1.54 KB
/
bootstrap.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* Part of the Sentry package for FuelPHP.
*
* @package Sentry
* @version 2.0
* @author Cartalyst LLC
* @license MIT License
* @copyright 2011 - 2012 Cartalyst LLC
* @link http://cartalyst.com
*/
Autoloader::add_core_namespace('Sentry');
Autoloader::add_classes(array(
'Sentry\\Sentry' => __DIR__.'/classes/sentry.php',
'Sentry\\SentryAuthException' => __DIR__.'/classes/sentry.php',
'Sentry\\SentryAuthUserNotActivatedException' => __DIR__.'/classes/sentry.php',
'Sentry\\SentryAuthConfigException' => __DIR__.'/classes/sentry.php',
// attempts
'Sentry\\Sentry_Attempts' => __DIR__.'/classes/sentry/attempts.php',
'Sentry\\SentryAttemptsException' => __DIR__.'/classes/sentry/attempts/php',
'Sentry\\SentryUserSuspendedException' => __DIR__.'/classes/sentry/attempts.php',
// user
'Sentry\\Sentry_User' => __DIR__.'/classes/sentry/user.php',
'Sentry\\SentryUserException' => __DIR__.'/classes/sentry/user.php',
'Sentry\\SentryUserNotFoundException' => __DIR__.'/classes/sentry/user.php',
// groups
'Sentry\\Sentry_Group' => __DIR__.'/classes/sentry/group.php',
'Sentry\\SentryGroupException' => __DIR__.'/classes/sentry/group.php',
'Sentry\\SentryGroupNotFoundException' => __DIR__.'/classes/sentry/group.php',
// hashing
'Sentry\\Sentry_Hash_Driver' => __DIR__.'/classes/sentry/hash/driver.php',
));