Some provider don't allox user to change directory mod !
I propose to add in classes.php in Album function, line 436
` // Second defense against reverse folder traversal:
if(!file_exists($this->localpath) || strpos($this->localpath, '..') !== FALSE) {
$this->exists = false;
return false;
}
-------------
if( ! is_writable($this->localpath) ) { chmod($this->localpath, 777); }
-------------
$new = parent::PersistentObject('albums', array('folder' => $this->name));`
Comments