fixed syscp-bug #1213;
This commit is contained in:
2
TODO
2
TODO
@@ -1,7 +1,7 @@
|
||||
FIXED 0001282 Homedirs von Dovecot identisch
|
||||
0001274 Option to mark a Domain as Subdomain possible or not
|
||||
FIXED 0001283 SysCP creating broken lighttpd config files
|
||||
0001213 APS class_apsinstaller.php on line 510 - error installing different apps
|
||||
FIXED 0001213 APS class_apsinstaller.php on line 510 - error installing different apps
|
||||
0001272 Default Config for libnss incomplete (debian/lenny)
|
||||
FIXED 0001281 Wrong open_basedir directive
|
||||
0001280 deb packet 1.4.2.1-2 fu*ked
|
||||
|
||||
@@ -507,6 +507,12 @@ class ApsInstaller extends ApsParser
|
||||
|
||||
if(zip_entry_open($ZipHandle, $ZipEntry))
|
||||
{
|
||||
// handle new directory
|
||||
$dir = dirname($Destination.$NewPath);
|
||||
if (!file_exists($dir)) {
|
||||
mkdir ($dir, 0777, true);
|
||||
}
|
||||
|
||||
$File = fopen($Destination . $NewPath, "wb");
|
||||
|
||||
if($File)
|
||||
|
||||
Reference in New Issue
Block a user