(Yaf >=2.1.4)
Yaf_Application::setAppDirectory — Change the application directory
$directory
directory