diff options
Diffstat (limited to 'kohana/libraries/Input.php')
-rw-r--r-- | kohana/libraries/Input.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kohana/libraries/Input.php b/kohana/libraries/Input.php index 3cdef0b8..04e8ee4d 100644 --- a/kohana/libraries/Input.php +++ b/kohana/libraries/Input.php @@ -31,13 +31,13 @@ class Input_Core { */ public static function instance() { - if (self::$instance === NULL) + if (Input::$instance === NULL) { // Create a new instance return new Input; } - return self::$instance; + return Input::$instance; } /** @@ -51,7 +51,7 @@ class Input_Core { // Use XSS clean? $this->use_xss_clean = (bool) Kohana::config('core.global_xss_filtering'); - if (self::$instance === NULL) + if (Input::$instance === NULL) { // magic_quotes_runtime is enabled if (get_magic_quotes_runtime()) @@ -140,7 +140,7 @@ class Input_Core { } // Create a singleton - self::$instance = $this; + Input::$instance = $this; Kohana::log('debug', 'Global GET, POST and COOKIE data sanitized'); } |