Core API

docroot(string path)

Sets the requests document root to the given path.

Example:

handler main {
    docroot '/var/www/htdocs'
    # ...
}

int sys.now()

...

string sys.now_str()

...

comments powered by Disqus