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: | digital man |
|---|---|
| Location: | Riverside County, California |
| Users: | 1,151 |
| Nodes: | 17 (0 / 17) |
| Uptime: | 33:36:36 |
| Calls: | 509,174 |
| Calls today: | 10 |
| Files: | 291,667 |
| D/L today: |
38,710 files (6,737M bytes) |
| Messages: | 468,445 |
| Posted today: | 3 |