mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Mass changes (work in progress - related beta testing and feedback highly appreciated)
- New session handler - appropriate changes made at important core areas (language handler, chap login related) - Overall better COOKIE handling (on both server and client side) - cookies respect now installation path, domain (based on language settings) - Introduced Security Levels (see session handler constants/docs), security level option could be added to install routine now - Security level printed on Administration info panel, appropriate lans added (subject of discussion) - e_TOKEN security part of session handling now - logic depends depends on security level (TODO - POST_REFERER removal) - e_print, e_dump debug functions added (for quick and nice debug view via site output), native overall FirePhp support planned - a lot of minor bugfixes
This commit is contained in:
@@ -152,6 +152,26 @@ function print_a($var, $return = FALSE)
|
||||
}
|
||||
}
|
||||
|
||||
function e_print($expr = null)
|
||||
{
|
||||
$args = func_get_args();
|
||||
if(!$args) return;
|
||||
foreach ($args as $arg)
|
||||
{
|
||||
print_a($arg);
|
||||
}
|
||||
}
|
||||
|
||||
function e_dump($expr = null)
|
||||
{
|
||||
$args = func_get_args();
|
||||
if(!$args) return;
|
||||
|
||||
echo '<pre>';
|
||||
call_user_func_array('var_dump', $args);
|
||||
echo '</pre>';
|
||||
}
|
||||
|
||||
/**
|
||||
* Strips slashes from a var if magic_quotes_gqc is enabled
|
||||
*
|
||||
|
Reference in New Issue
Block a user