/** * 呼び出しもとのパッケージを起点としたパスを返す * @param string $path * @return string */ function module_path($path) { return Rhaco::module_path($path, true); }
public function models() { if ($this->login()) { $this->vars("models", $this->search_model()); $this->vars("f", new CrudTools("")); $this->template(Rhaco::module_path("templates/models.html")); } return $this; }
public function invalid(Request $request) { $flow = new Flow(); $flow->output(Rhaco::module_path("templates/login.html")); }