mazzorini / Anchorcms-0.9.2-drag-drop-fix

Anchorcms drag&drop upload working
16 stars 1 forks source link

Wrong URL in the post #3

Open sambuev opened 9 years ago

sambuev commented 9 years ago

Hello, just installed DDF on Anchor 092 and when I post picture it shows me broken url

http://content/iphone.gif

how can I fix this url and put my address there? which file to correct?

mazzorini commented 9 years ago

edit the anchor/routes/posts.php on line 263

from:

$uri = Config::app('url', '/') . '/content/' . basename($filepath);

to:

$uri = Config::app('url', '/') . 'content/' . basename($filepath);