As path directory may be a symbolic link in $_SERVER['DOCUMENT_ROOT'], the URL of pictures in the dialog box browsing images on the server may be wrongly solved....
To get the correct relative path from $document_root, we need to use php realpath function to remove it and solve correctly the relative path
As path directory may be a symbolic link in $_SERVER['DOCUMENT_ROOT'], the URL of pictures in the dialog box browsing images on the server may be wrongly solved....
To get the correct relative path from $document_root, we need to use php realpath function to remove it and solve correctly the relative path