daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Mar 17th, 2018 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PHP Version 7.0.22
  2. Apache/2.4.18
  3. PhalconPHP 3.3.1
  4.    
  5. PHP Version 5.6.26
  6. Apache 2
  7. PhalconPHP 3.0.1
  8.    
  9. CENTOS 7.4 vmware [server]
  10. cPanel v68.0.30
  11. PHP Version 5.6.34 (multiple versions available, this one selected by myself)
  12. PhalconPHP 3.2.2
  13.    
  14. [database]
  15. adapter  = Mysql
  16. host     = localhost
  17. username = root
  18. password = XXXXXXXXXXXX
  19. dbname   = XXXXXXXXXXXX
  20. charset  = utf8
  21.    
  22. protected function initDb()
  23. {
  24.     $config = $this->get('config')->get('database')->toArray();
  25.  
  26.     $dbClass = 'PhalconDbAdapterPdo\' . $config['adapter'];
  27.     unset($config['adapter']);
  28.  
  29.     return new $dbClass($config);
  30. }
  31.    
  32. $this->view->files = Patients::query()->orderBy("id ASC")->execute();
  33.    
  34. $this->view->files = Patients::query()->orderBy("fname ASC")->execute();
  35.    
  36. $user = Users::findFirst(array(
  37.                          "conditions" => "id = :id:",
  38.                          "bind" => array("id" => $this->session->get("userID"))
  39.                         ));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top