summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c17893)
raw | patch | inline | side by side (parent: 8c17893)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Nov 2005 10:58:57 +0000 (10:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Nov 2005 10:58:57 +0000 (10:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1904 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/environment/class_kioskManagementDialog.inc | patch | blob | history |
diff --git a/plugins/personal/environment/class_kioskManagementDialog.inc b/plugins/personal/environment/class_kioskManagementDialog.inc
index 8755fcc8ac8fa5dd819a3f288cac2d5ba5aac221..947e662bc81f796172d0171afa7d3ebf5f75c498 100644 (file)
* Delete selected file form $this->baseDir
*/
if((isset($_POST['profileDel']))&&(isset($_POST['gotoKioskProfile']))){
- $filename = $this->baseDir."/".$_POST['gotoKioskProfile'];
+ $filename = $this->baseDir."/".preg_replace("/^.*\//i","",$_POST['gotoKioskProfile']);
$res = @unlink($filename);
if(!$res){