diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-09-04 14:56:06 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-09-04 14:56:06 +0200 |
commit | 54d5d869ad2c525dd276f28a8409658a106d9e3f (patch) | |
tree | de619bb4824b61d41b0452a94fc850cc28b27e35 /application/errors/error_general.php | |
parent | 720808fc3884a415dc483b50796697a095d1b5b8 (diff) |
Generalize request_type() to static_storage()
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/errors/error_general.php')
-rwxr-xr-x | application/errors/error_general.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/errors/error_general.php b/application/errors/error_general.php index fc3d3f607..6c67fa33f 100755 --- a/application/errors/error_general.php +++ b/application/errors/error_general.php @@ -9,7 +9,7 @@ if (class_exists("CI_Controller") && !isset($GLOBALS["is_error_page"])) { $CI->load->helper("filebin"); $CI->load->helper("url"); - if (request_type() == "json") { + if (static_storage("response_type") == "json") { $array = array( "status" => "error", "message" => strip_tags($message), |