PHP Classes

File: langs/en-us/scripts/status.php

Recommend this page to a friend!
  Classes of VITOR GABRIEL M. DANTAS   Pleiades   langs/en-us/scripts/status.php   Download  
File: langs/en-us/scripts/status.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Pleiades
Application to implement an issue-tracking system
Author: By
Last change:
Date: 4 months ago
Size: 310 bytes
 

Contents

Class file image Download
<?php
if(substr($_SERVER['SCRIPT_NAME'], strlen($_SERVER['SCRIPT_NAME']) - 10) === substr(__FILE__, strlen(__FILE__) - 10)) {
   
header("Location: ../pages/Error_404.php");
    exit();
}else{
    include
__DIR__.'/../config.php';
    if(isset(
$errordb)){
       
header("Location: ../pages/Error_404.php");
        exit();
    }
}