Advertisement
krot

sym link image

Jan 22nd, 2019
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.16 KB | None | 0 0
  1. $dir=$_SERVER['DOCUMENT_ROOT'].'/image';//cl2
  2. if(is_link ($dir))$dir=readlink($dir); 
  3. if(file_exists($dir.'/m/'.$model['id'].'.png'))
  4. PHP open_basedir cl1/image
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement