|
Yaf_Application::setAppDirectoryChange the application directory Description
public Yaf_Applicationnullfalse Yaf_Application::setAppDirectory(string
$directory)Change the application directory, under which Yaf looks for controllers, views and modules. The new directory must be an absolute path. Parameters
Return Values
Returns the Yaf_Application object itself on
success, ExamplesExample #1 Yaf_Application::setAppDirectory example The above example will output something similar to:
object(Yaf_Application)#1 (0) {
}
string(20) "/srv/legacy/mvc/app"
bool(false)
bool(false)
See Also
|