diff options
Diffstat (limited to 'inc/UserCVS.php')
-rwxr-xr-x | inc/UserCVS.php | 4 |
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 ) { |