i think that still is not possible to get the directory of the current running script.
i want to get it to use a relative paths to the script
using file class:
var f = new File("/etc/apache2/httpd.conf");
write (f.get_dir());
using globals:
write (file_getdir('/etc/apache2/httpd.conf'))
will show '/etc/apache2'
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 104 |
Nodes: | 16 (2 / 14) |
Uptime: | 03:12:41 |
Calls: | 5,586 |
Calls today: | 12 |
Files: | 8,493 |
D/L today: |
69 files (24,238K bytes) |
Messages: | 336,574 |
Posted today: | 3 |