PHP Classes
elePHPant
Icontem

File: tests/includes/bootstrap.php

Recommend this page to a friend!
  Classes of Barton Phillips  >  PHP Site Class  >  tests/includes/bootstrap.php  >  Download  
File: tests/includes/bootstrap.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP Site Class
Create database driven Web sites
Author: By
Last change:
Date: 1 year ago
Size: 221 bytes
 

Contents

Class file image Download
<?php
$_SERVER
['REMOTE_ADDR'] = '107.170.244.155';
$_SERVER['HTTP_USER_AGENT'] = "MY TEST";
$_SERVER['PHP_SELF'] = "TESTIT"; //__FILE__;
$_SERVER['DOCUMENT_ROOT'] = '/home/barton/myClasses/tests';
$_COOKIE['SiteId'] = 1;