--- branches/pear-db/include/global_vars.php 2004/03/18 22:49:15 80 +++ branches/pear-db/include/global_vars.php 2004/03/18 22:56:02 81 @@ -20,7 +20,7 @@ # assume that it's alias installation (see etc/httpd-alias.conf) # with url http://host/libdata-dev/ if (! stristr($host, "libdata")) { - $path = dirname($_SERVER["SCRIPT_URL"]); + $path = str_replace("/admin","/",dirname($_SERVER["SCRIPT_URL"])); } // URL path information