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: | CyberNix |
|---|---|
| Location: | London, UK |
| Users: | 23 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 70:34:42 |
| Calls: | 914 |
| Files: | 5,566 |
| D/L today: |
71 files (9,992K bytes) |
| Messages: | 823,665 |