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: | 127 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 492698:49:31 |
| Calls: | 7,917 |
| Calls today: | 4 |
| Files: | 9,413 |
| U/L today: |
8 files (7,040K bytes) |
| D/L today: |
942 files (763M bytes) |
| Messages: | 400,707 |
| Posted today: | 3 |