Permalink
Browse files

Using the default tep_exit(); function

  • Loading branch information...
1 parent 6e8dd30 commit 18481dc1d41fd88adfec46c11445f20b5133b0d3 @acidvertigo acidvertigo committed Dec 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/includes/classes/language.php
@@ -77,7 +77,7 @@ function set_language($language) {
if (in_array($this->language,$this->catalog_languages)) {
header('HTTP/1.1 404 Not Found'); ?>
<h1>404 Not Found</h1>
- <? exit;
+ <? tep_exit();
}else{
$this->language = $this->catalog_languages[DEFAULT_LANGUAGE];
}

0 comments on commit 18481dc

Please sign in to comment.