fix write hook for gallery
This commit is contained in:
parent
d8cfe77ba5
commit
700a120c22
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class OC_Gallery_Hooks_Handlers {
|
|||
|
||||
if (!self::isPhoto($fullpath)) return;
|
||||
|
||||
$path = substr($fullpath, 0, strrpos($fullpath, '/'));
|
||||
$path = dirname($fullpath);
|
||||
if (!self::pathInRoot($path)) return;
|
||||
OC_Gallery_Scanner::scanDir($path, $albums);
|
||||
|
||||
|
|
Loading…
Reference in a new issue