Incomings können jetzt auch über die Incoming Platform ihr Profilbild uploaden

This commit is contained in:
Karl Burkhart
2012-09-05 08:53:03 +00:00
parent 2cb6681f42
commit 2cc534db5a
3 changed files with 104 additions and 78 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www
<h1>'.$p->t('profil/Bildupload').'</h1>';
if(!isset($_SESSION['prestudent/user']) || $_SESSION['prestudent/user']=='')
if(!isset($_SESSION['prestudent/user']) && !isset($_SESSION['incoming/user']))
exit('Keine Berechtigung zum Bildupload.');
function resize($filename, $width, $height)