summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7bea995)
raw | patch | inline | side by side (parent: 7bea995)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Jan 2008 06:52:12 +0000 (06:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Jan 2008 06:52:12 +0000 (06:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8202 594d385d-05f5-0310-b6e9-bd551577e9d8
index 9e37537908a55f50b88926496d340188a1009eb3..68b073dee490500dc34a0d58e316af4576d99771 100644 (file)
xml_set_object($this->parser, $this);
xml_set_element_handler($this->parser, "tag_open", "tag_close");
$this->parse($this->filename);
- if(isset($_SESSION['plist'])){
+ if(session::is_set('plist')){
unset($_SESSION['plist']);
}
- if(isset($_SESSION['plug'])){
+ if(session::is_set('plug')){
unset($_SESSION['plug']);
}
if(isset($_GET['plug'])){
index 763db832a0ccb88418a9d8f17d6beb3008a7d78b..11e3fc88448ef0ce0e96febafa81c01d286ed073 100644 (file)
function log($string)
{
- if (isset($_SESSION['config'])){
+ if (session::is_set('config')){
$cfg= $_SESSION['config'];
if (isset($cfg->current['LDAPSTATS']) && preg_match('/true/i', $cfg->current['LDAPSTATS'])){
syslog (LOG_INFO, $string);
index daad88908e19a8211f9338350e61f0021f146f40..022d2fe6281b41c2c3bdc8ca9575eb192fa16bf5 100644 (file)
}
$entry = array();
- if(!isset($_SESSION['config'])){
+ if(!session::is_set('config')){
$entry['user']= "unkown";
}else{
index a41373dc0c9abcee9623c7635d98214cb000837d..92789b2f4f16a6ee80ba277227dc03110d461cac 100644 (file)
"*** PHP error information ***\n\n");
}
- if (isset($_SESSION['js']) && $_SESSION['js']==FALSE){
+ if (session::is_set('js') && $_SESSION['js']==FALSE){
$error_collector= "<div>";
} else {
$error_collector= "
index bce41ef68ff02ca28599b1f85ec7dd6974b016c3..870490a742312f87e51fc95a74d3954815474eac 100644 (file)
--- a/gosa-core/setup/main.inc
+++ b/gosa-core/setup/main.inc
*/
/* Create a new setup class if necessary */
-if (!isset($_SESSION['setup']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){
+if (!session::is_set('setup') || (isset($_GET['reset']) && $_GET['reset'] == 1)){
$_SESSION['setup']= new setup ();
}
$setup= $_SESSION['setup'];