Pluf Framework

Pluf Framework Commit Details


Date:2009-05-07 02:30:16 (15 years 7 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:2ddd5e10ca049e42afc33ea58b4e422310ea7302
Parents: d5c95dc2751d97ecf05e576ad106168f47bc02eb
Message:Fixed error when no defined signals.

Changes:

File differences

src/Pluf.php
3939
4040
4141
42
4243
4344
4445
{
$GLOBALS['_PX_starttime'] = microtime(true);
$GLOBALS['_PX_uniqid'] = uniqid($GLOBALS['_PX_starttime'], true);
$GLOBALS['_PX_signal'] = array();
Pluf::loadConfig($config);
date_default_timezone_set(Pluf::f('time_zone', 'Europe/Berlin'));
mb_internal_encoding(Pluf::f('encoding', 'UTF-8'));
src/Pluf/Signal.php
5757
5858
5959
60
61
62
6360
6461
6562
*/
public static function connect($signal, $who, $sender=null)
{
if (!isset($GLOBALS['_PX_signal'])) {
$GLOBALS['_PX_signal'] = array();
}
if (!isset($GLOBALS['_PX_signal'][$signal])) {
$GLOBALS['_PX_signal'][$signal] = array();
}

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.07145s using 13 queries.