ok sorry $config['attachments']['path'] = "/file/"; in the config fixing the problem with /notice/ in filepath
http://gitorious.org/laconica/mainline/merge_requests/1266 René Am Tue, 18 Aug 2009 15:57:38 +0200 schrieb René Wunderlich <[email protected]>: > hi list, > > 2 questions to attachments in laconica ;) > > 1. way save laconica the absolut url to a local file? this is a problem on a > migration and cost many space? a relativ path "file/filename" or only the > filename + a flag "local_file" is the beter way or? only the quota > calculation use the /notice/ string and i think it is not a problem to change > this to the faster way ;) > > 2. way do many funktions not remove the saved /notice an output? > "$this->out->element('img', array('src' => $this->attachment->url, 'alt' => > 'alt'));" > > SELECT * FROM `file` WHERE `url` LIKE '%/notice/%' LIMIT 0 , 30 > > return > > http://$host/notice/file/$filename > > and this is not the correct url > > is any bin output or redirect planet or so? > > version 0.8.1pre1 > > > René > _______________________________________________ > Laconica-dev mailing list > [email protected] > http://mail.laconi.ca/mailman/listinfo/laconica-dev _______________________________________________ Laconica-dev mailing list [email protected] http://mail.laconi.ca/mailman/listinfo/laconica-dev
