diff options
-rw-r--r-- | includes/ShowUserPicture.php | 8 | ||||
-rwxr-xr-x | includes/funktion_user.php | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/includes/ShowUserPicture.php b/includes/ShowUserPicture.php index bb1893d8..0b61d153 100644 --- a/includes/ShowUserPicture.php +++ b/includes/ShowUserPicture.php @@ -1,10 +1,10 @@ <?PHP -include ("./config.php"); -include ("./error_handler.php"); -include ("./config_db.php"); +include ("../includes/config.php"); +include ("../includes/error_handler.php"); +include ("../includes/config_db.php"); if( !isset($_SESSION)) session_start(); -include ("./secure.php"); +include ("../includes/secure.php"); // Parameter check diff --git a/includes/funktion_user.php b/includes/funktion_user.php index c99e54fe..cf4ae10c 100755 --- a/includes/funktion_user.php +++ b/includes/funktion_user.php @@ -77,9 +77,9 @@ function GetPicturShow($UID) function displayPictur($UID, $height="30") { if( $height > 0) - return( "<img src=\"./inc/ShowUserPicture.php?UID=$UID\" height=\"$height\" alt=\"picture of USER$UID\" class=\"photo\">"); + return( "<img src=\"/ShowUserPicture.php?UID=$UID\" height=\"$height\" alt=\"picture of USER$UID\" class=\"photo\">"); else - return( "<img src=\"./inc/ShowUserPicture.php?UID=$UID\" alt=\"picture of USER$UID\">"); + return( "<img src=\"/ShowUserPicture.php?UID=$UID\" alt=\"picture of USER$UID\">"); } |