diff --git a/gallery/class.gallery.php b/gallery/class.gallery.php index b044771..09be7ae 100755 --- a/gallery/class.gallery.php +++ b/gallery/class.gallery.php @@ -57,35 +57,6 @@ class Gallery var $admin_size = 'c100x100'; - /** - * Creates directory - * - * @param string $path Path to create - * @param integer $mode Optional permissions - * @return boolean Success - */ - function _mkdir($path, $mode = 0777) - { - $old = umask(0); - $res = @mkdir($path, $mode); - umask($old); - - return $res; - } - - /** - * Creates directories recursively - * - * @param string $path Path to create - * @param integer $mode Optional permissions - * @return boolean Success - */ - function rmkdir($path, $mode = 0777) - { - return is_dir($path) || (mkdir(dirname($path), $mode) && $this->_mkdir($path, $mode)); - } - - /** * ВНЕШНИЕ МЕТОДЫ */ diff --git a/gallery/module.php b/gallery/module.php index ffa89b2..d119ee2 100644 --- a/gallery/module.php +++ b/gallery/module.php @@ -14,7 +14,7 @@ if (defined('ACP')) { $modul['ModuleName'] = 'Галерея'; $modul['ModuleSysName'] = 'gallery'; - $modul['ModuleVersion'] = '3.2.2'; + $modul['ModuleVersion'] = '3.2.3'; $modul['ModuleDescription'] = 'Gallery + Watermark
Внимание! У директорий
uploads/gallery/.upload/ и
uploads/gallery/.temp/
должны быть права на запись!

Вы можете ограничить количество выводимых изображений, указав после Gallery-ID следующее: -3 (в этом случае количество будет ограничено тремя изображениями на страницу)'; $modul['ModuleAutor'] = 'AVE.CMS Team'; $modul['ModuleCopyright'] = '© 2007-2013 AVE.CMS';