PHP Classes
elePHPant
Icontem

File: tests/bootstrap.php

Recommend this page to a friend!
  Classes of Lars Moelleken  >  PHP Session MySQL Handler  >  tests/bootstrap.php  >  Download  
File: tests/bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Session MySQL Handler
Handler for storing session data in MySQL
Author: By
Last change: [~]: use phpcs fixer
Date: 20 days ago
Size: 209 bytes
 

Contents

Class file image Download
<?php

\error_reporting(\E_ALL);
\
ini_set('display_errors', 1);

require_once
__DIR__ . '/../vendor/autoload.php';

// running from the cli doesn't set $_SESSION
if (!isset($_SESSION)) {
   
$_SESSION = [];
}