[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/class/ -> MP_WP_db_connect_.class.php (source)

   1  <?php
   2  abstract class MP_WP_db_connect_
   3  {
   4  	function mysql_disconnect( $x = '0' )
   5      {
   6          global $wpdb;
   7          if ( isset( $this->trace ) ) $this->trace->log( "!            ! [notice] MailPress - Disconnecting from " . DB_NAME . " ( $x )" );
   8  
   9          $closed = $wpdb->close();
  10  
  11          if ( isset( $this->trace ) ) $this->trace->log( "!            ! [notice] MailPress - Disconnected ( $x )" );
  12      }
  13  
  14  	function mysql_connect( $x = '0' )
  15      {
  16          global $wpdb;
  17          if ( isset( $this->trace ) ) $this->trace->log( "!            ! [notice] MailPress - Connecting to " . DB_NAME . " ( $x )" );
  18  
  19          $wpdb->__construct( DB_USER, DB_PASSWORD, DB_NAME, DB_HOST );
  20  
  21          if ( isset( $this->trace ) ) $this->trace->log( "!            ! [notice] MailPress - Connected ( $x )" );
  22      }
  23  }


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1