1
0
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:
e107steved
2007-08-14 19:27:22 +00:00
parent e2ce05fbbc
commit 2806e27c6b
5 changed files with 235 additions and 90 deletions

View File

@@ -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>