summaryrefslogtreecommitdiff
path: root/system/core/Kohana_Exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/core/Kohana_Exception.php')
-rw-r--r--system/core/Kohana_Exception.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Kohana_Exception.php b/system/core/Kohana_Exception.php
index cdb06a62..2eb28f75 100644
--- a/system/core/Kohana_Exception.php
+++ b/system/core/Kohana_Exception.php
@@ -2,7 +2,7 @@
/**
* Kohana Exceptions
*
- * $Id: Kohana_Exception.php 4679 2009-11-10 01:45:52Z isaiah $
+ * $Id: Kohana_Exception.php 4692 2009-12-04 15:59:44Z cbandy $
*
* @package Core
* @author Kohana Team
@@ -197,7 +197,7 @@ class Kohana_Exception_Core extends Exception {
echo Kohana_Exception::text($e), "\n";
}
- if (PHP_SAPI === 'cli')
+ if (Kohana::$server_api === 'cli')
{
// Exit with an error status
exit(1);