mirror of
https://github.com/twisterarmy/twister.git
synced 2025-03-12 13:21:30 +00:00
This commit is contained in:
parent
765c631803
commit
64273e1f1f
@ -2,7 +2,7 @@
|
||||
|
||||
namespace Twister;
|
||||
|
||||
class Lang
|
||||
class Assets
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -10,7 +10,7 @@ use IteratorAggregate;
|
||||
use OutOfBoundsException;
|
||||
*/
|
||||
|
||||
class S implements Countable, IteratorAggregate, ArrayAccess
|
||||
class Str implements Countable, IteratorAggregate, ArrayAccess
|
||||
{
|
||||
/**
|
||||
* An instance's string.
|
||||
|
Loading…
x
Reference in New Issue
Block a user