elkarte/Elkarte — pull request #82 by norv (2013-01-20 01:04:41+00:00)
Title: Directories patch

Introduced $librarydir and $controllerdir.
Added loadLibrary() and loadController().

Ema voted to use loadLibrary() and loadController() in the core because they're less to type. I used the variable though, for requiring library files, to avoid an extra function call that would happen many times.