mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Bugtracker #3663 - treat error pages separately from normal ones in stats
This commit is contained in:
@@ -11,12 +11,16 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/error.php,v $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2007-06-13 19:43:01 $
|
||||
| $Revision: 1.5 $
|
||||
| $Date: 2007-08-14 19:27:22 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
define("ERR_PAGE_ACTIVE",'error');
|
||||
|
||||
require_once("class2.php");
|
||||
|
||||
if(!e_QUERY || (e_QUERY != 401 && e_QUERY != 403 && e_QUERY != 404 && e_QUERY != 500))
|
||||
{
|
||||
if (E107_DEBUG_LEVEL)
|
||||
@@ -62,6 +66,7 @@ switch(e_QUERY) {
|
||||
$text .= "<a href='{$base_path}search.php'>".LAN_ERROR_22."</a></p>";
|
||||
break;
|
||||
|
||||
|
||||
case 500:
|
||||
header("HTTP/1.1 500 Internal Server Error");
|
||||
$text = "<div class='installe'><img src='".e_IMAGE_ABS."packs/".$imode."/generic/warning.png' alt='Error Icon'> ".LAN_ERROR_10."</div><br /><div class='installh'>".LAN_ERROR_11."</div><br /><div class='smalltext'>".LAN_ERROR_12."</div>
|
||||
|
Reference in New Issue
Block a user