summaryrefslogtreecommitdiff
path: root/inc/UserCVS.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 00:44:48 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 00:44:48 +0000
commit1b5b81d601cc1860f257ba0eb66178875834a111 (patch)
tree9cf2eb95d08d7e21956b1de553043cd3e4c3d72d /inc/UserCVS.php
parentabf811c6048b3bd77243d284b8864fd608f094b1 (diff)
be begonen auf auf registerglobals=off aus gegeben anlass umzustellen, hab nonpublic geschafft
Variabenpruefung ist auch auf strickt gesetzt und eventuelle error beseitigt git-svn-id: svn://svn.cccv.de/engel-system@14 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'inc/UserCVS.php')
-rwxr-xr-xinc/UserCVS.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/UserCVS.php b/inc/UserCVS.php
index ee1cb0a0..807c8f52 100755
--- a/inc/UserCVS.php
+++ b/inc/UserCVS.php
@@ -1,8 +1,10 @@
<?php
+if( !isset($Page["Public"])) $Page["Public"]="N";
$Page["Name"] = substr( $_SERVER['PHP_SELF'], strlen($ENGEL_ROOT) );
-$Page["CVS"] = $_SESSION['CVS'][ $Page["Name"] ];
+if( isset( $_SESSION['CVS'][ $Page["Name"] ]))
+ $Page["CVS"] = $_SESSION['CVS'][ $Page["Name"] ];
if( $DEBUG )
{