I tend to keep my public_html folder at the same level as app folder when working in cakePHP.
Croogo is set up to serve the webroot folder from inside the app folder by default, so if you move your public_html directory then you’ll also need to ensure your file uploads still work.
look in app/views/helpers/image.php
and change the $fullpath and $url to match your directory path.
mine is
$fullpath = ROOT.DS.WEBROOT_DIR.DS.$uploadsDir.DS;
$url = ROOT.DS.WEBROOT_DIR.DS.$path;
Advertisement
Filed under: Uncategorized, cakephp, croogo