bazilbycom
Well-known member
Save the below code as "sym.php" and place it in the root directoryDid anyone fix the image broken path fixed? I have tried reply #186 without any luck to fix it. I am trying this on a shared hosting environment so access to a terminal is a challenge. Thanks in advance.
<?php
$targetFolder = $_SERVER['DOCUMENT_ROOT'].'/storage/app/public';
$linkFolder = $_SERVER['DOCUMENT_ROOT'].'/public/storage';
symlink($targetFolder,$linkFolder);
echo 'Symlink process successfully completed';
now access yourdomain.com/sym.php . this should do the job. if not, your hosting setup is missing something.