From 1d218784d180deb0946cb5dd4100ed0ebd489346 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 30 Jul 2015 20:37:32 -0700 Subject: undefined function --- include/RedDAV/RedFile.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/RedDAV/RedFile.php b/include/RedDAV/RedFile.php index 31fdb39b2..0a021b5ed 100644 --- a/include/RedDAV/RedFile.php +++ b/include/RedDAV/RedFile.php @@ -165,6 +165,7 @@ class RedFile extends DAV\Node implements DAV\IFile { ); if($is_photo) { + require_once('include/photos.php'); $args = array( 'resource_id' => $this->data['hash'], 'album' => $album, 'os_path' => $f, 'filename' => $r[0]['filename'], 'getimagesize' => $gis ); $p = photo_upload($c[0],$this->auth->observer,$args); } -- cgit v1.2.3