Убрал phptal и лишнее
This commit is contained in:
parent
651a841187
commit
96043d70e6
95 changed files with 4 additions and 10833 deletions
|
|
@ -1,16 +1,11 @@
|
|||
<?php
|
||||
|
||||
/*.
|
||||
require_module 'standard';
|
||||
require_module 'zip';
|
||||
.*/
|
||||
|
||||
/**
|
||||
* Расширение класса ZipArchive с возможность архивирования директории
|
||||
*/
|
||||
class ZipFile extends ZipArchive
|
||||
{
|
||||
private function addDirDo(/*. string.*/ $location, /*. string .*/ $name)
|
||||
private function addDirDo($location, $name)
|
||||
{
|
||||
assert(is_string($location) && is_string($name));
|
||||
|
||||
|
|
@ -29,7 +24,7 @@ class ZipFile extends ZipArchive
|
|||
}
|
||||
}
|
||||
|
||||
public function addDir(/*. string.*/ $location, /*. string .*/ $name)
|
||||
public function addDir($location, $name)
|
||||
{
|
||||
assert(is_string($location) && is_string($name));
|
||||
|
||||
|
|
@ -37,5 +32,3 @@ class ZipFile extends ZipArchive
|
|||
$this->addDirDo($location, $name);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue