Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PHP Version 7.0.22
- Apache/2.4.18
- PhalconPHP 3.3.1
- PHP Version 5.6.26
- Apache 2
- PhalconPHP 3.0.1
- CENTOS 7.4 vmware [server]
- cPanel v68.0.30
- PHP Version 5.6.34 (multiple versions available, this one selected by myself)
- PhalconPHP 3.2.2
- [database]
- adapter = Mysql
- host = localhost
- username = root
- password = XXXXXXXXXXXX
- dbname = XXXXXXXXXXXX
- charset = utf8
- protected function initDb()
- {
- $config = $this->get('config')->get('database')->toArray();
- $dbClass = 'PhalconDbAdapterPdo\' . $config['adapter'];
- unset($config['adapter']);
- return new $dbClass($config);
- }
- $this->view->files = Patients::query()->orderBy("id ASC")->execute();
- $this->view->files = Patients::query()->orderBy("fname ASC")->execute();
- $user = Users::findFirst(array(
- "conditions" => "id = :id:",
- "bind" => array("id" => $this->session->get("userID"))
- ));
Add Comment
Please, Sign In to add comment