File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -567,24 +567,6 @@ public function loadTemplate($name)
567567 ->addMoreInfo ('template_dir ' , $ this ->template_dir );
568568 }
569569
570- /**
571- * Connects database.
572- *
573- * @param string $dsn Format as PDO DSN or use "mysql://user:pass@host/db;option=blah", leaving user and password arguments = null
574- * @param string $user
575- * @param string $password
576- * @param array $args
577- *
578- * @return Persistence
579- */
580- public function dbConnect ($ dsn , $ user = null , $ password = null , $ args = [])
581- {
582- $ this ->db = Persistence::connect ($ dsn , $ user , $ password , $ args );
583- $ this ->db ->app = $ this ;
584-
585- return $ this ->db ;
586- }
587-
588570 protected function getRequestUrl ()
589571 {
590572 if (isset ($ _SERVER ['HTTP_X_REWRITE_URL ' ])) { // IIS
You can’t perform that action at this time.
0 commit comments