Renamed bootstrap file
This commit is contained in:
parent
b1304a44d0
commit
5ce36537a6
1 changed files with 0 additions and 0 deletions
|
@ -1,20 +0,0 @@
|
|||
<?php
|
||||
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
$_SERVER['HTTP_HOST'] = 'testsite.com';
|
||||
$_SERVER['SERVER_NAME'] = 'Test Server';
|
||||
$_SERVER['SERVER_ADDR'] = '127.0.0.1';
|
||||
|
||||
function setUpRequest($request, $method = 'GET')
|
||||
{
|
||||
$_SERVER['REQUEST_URI'] = '/' . $request;
|
||||
$_SERVER['REQUEST_METHOD'] = $method;
|
||||
$_REQUEST['request'] = $request;
|
||||
}
|
||||
|
||||
`mysql -e 'TRUNCATE TABLE test.pickles;'`;
|
||||
`mysql -e 'TRUNCATE TABLE test.mypickles;'`;
|
||||
`mysql -e 'TRUNCATE TABLE test.users;'`;
|
||||
`echo 'flush_all' | nc localhost 11211`;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue