results in BUG in Windows

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1850 860744bd-22fc-0310-8c96-e9fe5004b5ca
This commit is contained in:
Larry Adams committed 2004-07-27 00:32:04 +00:00
1 parent c6aa35fedd
commit a1e92534e1
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@ $first_host = 0;
$last_host = 0;
/* Update web paths for the poller */
db_execute("replace into settings (name,value) values ('path_webroot','" . dirname(__FILE__) . "')");
db_execute("replace into settings (name,value) values ('path_webroot','" . str_replace("\\", "/", dirname(__FILE__)) . "')");
//db_execute("replace into settings (name,value) values ('path_php_server','" . dirname(__FILE__) . "/script_server.php')");
// Obtain some defaults from the database