diff options
Diffstat (limited to 'application/libraries')
-rw-r--r-- | application/libraries/Customautoloader.php | 2 | ||||
-rw-r--r-- | application/libraries/Ddownload/Ddownload.php | 2 | ||||
-rw-r--r-- | application/libraries/Duser/Duser.php | 2 | ||||
-rw-r--r-- | application/libraries/ExceptionHandler.php | 2 | ||||
-rw-r--r-- | application/libraries/index.html | 3 |
5 files changed, 6 insertions, 5 deletions
diff --git a/application/libraries/Customautoloader.php b/application/libraries/Customautoloader.php index 426364ee3..eb14c5624 100644 --- a/application/libraries/Customautoloader.php +++ b/application/libraries/Customautoloader.php @@ -8,7 +8,7 @@ */ // Original source: http://stackoverflow.com/a/9526005/953022 -class CustomAutoloader{ +class Customautoloader { public function __construct() { spl_autoload_register(array($this, 'loader')); diff --git a/application/libraries/Ddownload/Ddownload.php b/application/libraries/Ddownload/Ddownload.php index 808dfe776..3a98d4154 100644 --- a/application/libraries/Ddownload/Ddownload.php +++ b/application/libraries/Ddownload/Ddownload.php @@ -17,7 +17,7 @@ class Ddownload extends CI_Driver_Library { protected $_adapter = null; protected $valid_drivers = array( - 'ddownload_php', 'ddownload_nginx', 'ddownload_lighttpd' + 'php', 'nginx', 'lighttpd' ); function __construct() diff --git a/application/libraries/Duser/Duser.php b/application/libraries/Duser/Duser.php index 8005a00bb..0007fabd8 100644 --- a/application/libraries/Duser/Duser.php +++ b/application/libraries/Duser/Duser.php @@ -50,7 +50,7 @@ class Duser extends CI_Driver_Library { protected $_adapter = null; protected $valid_drivers = array( - 'duser_db', 'duser_ldap', 'duser_fluxbb' + 'db', 'ldap', 'fluxbb' ); function __construct() diff --git a/application/libraries/ExceptionHandler.php b/application/libraries/ExceptionHandler.php index acfa97163..94a1d35c0 100644 --- a/application/libraries/ExceptionHandler.php +++ b/application/libraries/ExceptionHandler.php @@ -130,7 +130,7 @@ class ExceptionHandler { } $message = "$message"; - include APPPATH."/errors/error_general.php"; + include VIEWPATH."/errors/html/error_general.php"; } /** diff --git a/application/libraries/index.html b/application/libraries/index.html index c942a79ce..b702fbc39 100644 --- a/application/libraries/index.html +++ b/application/libraries/index.html @@ -1,3 +1,4 @@ +<!DOCTYPE html> <html> <head> <title>403 Forbidden</title> @@ -7,4 +8,4 @@ <p>Directory access is forbidden.</p> </body> -</html>
\ No newline at end of file +</html> |