= AUTH_READ){ // check if image exists $SRC = mediaFN($IMG); if(!file_exists($SRC)){ //doesn't exist! } }else{ // no auth $ERROR = p_locale_xhtml('denied'); } /*if(!$ERROR){ // load EXIF/IPTC/image details $INFO = array(); $INFO['std'][''] imagesize }*/ //start output and load template header('Content-Type: text/html; charset=utf-8'); include(template('detail.php')); //restore old umask umask($conf['oldumask']); ?>