PHP Classes

File: app/scripts/status.php

Recommend this page to a friend!
  Classes of VITOR GABRIEL M. DANTAS   Pleiades   app/scripts/status.php   Download  
File: app/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: 6 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();
    }
}