This commit is contained in:
therselman 2017-08-04 07:03:34 +02:00
parent 765c631803
commit 64273e1f1f
3 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
namespace Twister;
class Lang
class Assets
{
}

View File

@ -1,13 +1,14 @@
<?php
namespace Twister;
dump('Starting session');
class Session
{
private static $_db = null;
function __construct(Db &$db)
{
dump('Starting session for real');
session_set_save_handler('Session::open', 'Session::close', 'Session::read', 'Session::write', 'Session::destroy', 'Session::gc');
// register_shutdown_function('session_write_close');
session_set_cookie_params(0, '/', null, true, true);

View File

@ -10,7 +10,7 @@ use IteratorAggregate;
use OutOfBoundsException;
*/
class S implements Countable, IteratorAggregate, ArrayAccess
class Str implements Countable, IteratorAggregate, ArrayAccess
{
/**
* An instance's string.