예제 #1
0
 function DBx($host='localhost', $user, $password) {
     $this->Host = $host;
     $this->User = $user;
     $this->Password = $password;
     $this->Database = 'mysql';
     parent::DB_Sql();
 }
예제 #2
0
파일: bootstrap.php 프로젝트: ratbird/hope
 function DB_Seminar($query = false)
 {
     $this->Host = $GLOBALS['DB_STUDIP_HOST'];
     $this->Database = $GLOBALS['DB_STUDIP_DATABASE'];
     $this->User = $GLOBALS['DB_STUDIP_USER'];
     $this->Password = $GLOBALS['DB_STUDIP_PASSWORD'];
     parent::DB_Sql($query);
 }