summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a62237c)
raw | patch | inline | side by side (parent: a62237c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 13 Nov 2007 08:59:17 +0000 (08:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 13 Nov 2007 08:59:17 +0000 (08:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7786 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_printerPPDDialog.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_printerPPDDialog.inc b/plugins/admin/systems/class_printerPPDDialog.inc
index a867c707536aa141e9f7fcce27e0751df96841c9..a93e91bb4e56ad2a40d99cafcc41e6827d0e57c3 100644 (file)
}
}
- /* Open file handle */
- $fp = fopen($filename,"w+");
-
/* Create the vendors path, if it doesn't exists already */
if(!is_dir($this->pathToPPD.$vendor)){
if(!(@mkdir($this->pathToPPD.$vendor))){
}
}
+ /* Open file handle */
+ $fp = fopen($filename,"w+");
+
/* Check file handle & contents */
if(!$fp){
print_red(sprintf(_("Can't save file '%s'."),$filename));