Re: image gallery not working - all paths look correct - please help!

  •  08-25-2009, 4:25 PM

    Re: image gallery not working - all paths look correct - please help!

    Dear typeb:

    Please refer to :
         http://cutesoft.net/developer+guide/index.html
    Search "ImageGalleryPath", you will find a solution how you can set the the path of image gallery.
    You can remove the following code:
     
    if(!isset($_SERVER['DOCUMENT_ROOT'])){ if(isset($_SERVER['SCRIPT_FILENAME'])){
    $_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF'])));
    }; };
    if(!isset($_SERVER['DOCUMENT_ROOT'])){ if(isset($_SERVER['PATH_TRANSLATED'])){
    $_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr(str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']), 0, 0-strlen($_SERVER['PHP_SELF'])));
    }; };
     
    You can set 'DOCUMENT_ROOT' in the configuration file of apache. The file name is httpd.conf .
     
    Regards,
    Eric
     
View Complete Thread