Skip to content
Snippets Groups Projects
Select Git revision
  • 9cb3430e8b744927765217045eb2d20fe260f58d
  • 11.x default protected
  • 11.2.x protected
  • 10.6.x protected
  • 10.5.x protected
  • 11.1.x protected
  • 10.4.x protected
  • 11.0.x protected
  • 10.3.x protected
  • 7.x protected
  • 10.2.x protected
  • 10.1.x protected
  • 9.5.x protected
  • 10.0.x protected
  • 9.4.x protected
  • 9.3.x protected
  • 9.2.x protected
  • 9.1.x protected
  • 8.9.x protected
  • 9.0.x protected
  • 8.8.x protected
  • 10.5.4 protected
  • 11.2.5 protected
  • 10.5.3 protected
  • 11.2.4 protected
  • 10.5.2 protected
  • 11.2.3 protected
  • 10.5.1 protected
  • 11.2.2 protected
  • 11.2.1 protected
  • 11.2.0 protected
  • 10.5.0 protected
  • 11.2.0-rc2 protected
  • 10.5.0-rc1 protected
  • 11.2.0-rc1 protected
  • 10.4.8 protected
  • 11.1.8 protected
  • 10.5.0-beta1 protected
  • 11.2.0-beta1 protected
  • 11.2.0-alpha1 protected
  • 10.4.7 protected
41 results

error.php

Blame
  • Dries Buytaert's avatar
    Dries Buytaert authored
    - A large batch of updates, amongst them a rewritten node system.  More
      information available on the mailing list.
    336b713a
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    error.php 446 B
    <?php
    // $Id$
    
    include_once "includes/common.inc";
    
    $errors = array(500 => "500 error: internal server error", 404 => "404 error: `$REDIRECT_URL' not found", 403 => "403 error: access denied - forbidden", 401 => "401 error: authorization required", 400 => "400 error: bad request");
    
    watchdog("httpd", $errors[$REDIRECT_STATUS]);
    
    if (strstr($REDIRECT_URL, "index.php")) {
      drupal_goto("../index.php");
    }
    else {
      drupal_goto("index.php");
    }
    
    ?>