diff --git a/cgi-bin/text-to-html-filter.cgi b/cgi-bin/text-to-html-filter.cgi index 44f43e5..ce7f7ba 100755 --- a/cgi-bin/text-to-html-filter.cgi +++ b/cgi-bin/text-to-html-filter.cgi @@ -4,7 +4,7 @@ ext=${file/*.} range=10000 filename="/var/www/www.openmamba.org/$file" filename_check=`readlink -f $filename` -[ "${filename_check:0:27}" = "/mnt/sdc1/ftp/pub/openmamba" ] || exit 0 +[ "${filename_check:0:22}" = "/var/ftp/pub/openmamba" ] || exit 0 if [ "$page" ]; then [ $page -gt 0 ] || page=1 else