diff options
author | friendica <info@friendica.com> | 2013-04-25 20:01:24 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-04-25 20:01:24 -0700 |
commit | 72e83f69bc3afe3646b423a19f11c99d03e3b66a (patch) | |
tree | 130a7a1d0a45f3116c5729e6d7913ffcabff0acf /mod/import.php | |
parent | d3b5e678908864d889b916ad2f976c1af16ca360 (diff) | |
download | volse-hubzilla-72e83f69bc3afe3646b423a19f11c99d03e3b66a.tar.gz volse-hubzilla-72e83f69bc3afe3646b423a19f11c99d03e3b66a.tar.bz2 volse-hubzilla-72e83f69bc3afe3646b423a19f11c99d03e3b66a.zip |
photo driver abstraction
Diffstat (limited to 'mod/import.php')
-rw-r--r-- | mod/import.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/import.php b/mod/import.php index 8b8019a99..4602c8aa8 100644 --- a/mod/import.php +++ b/mod/import.php @@ -114,7 +114,7 @@ function import_post(&$a) { $channel = $r[0]; if($data['photo']) { - require_once('include/Photo.php'); + require_once('include/photo/photo_driver.php'); import_channel_photo(base64url_decode($data['photo']['data']),$data['photo']['type'],get_account_id,$channel['channel_id']); } @@ -217,7 +217,7 @@ function import_post(&$a) { . "')" ); - require_once("Photo.php"); + require_once('include/photo/photo_driver.php'); $photos = import_profile_photo($xchan['xchan_photo_l'],$xchan['xchan_hash']); $r = q("update xchan set xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_mimetype = '%s' where xchan_hash = '%s' limit 1", |