function __destruct()
 {
     parent::__destruct();
     /*
     $logFile = get_class ( $this ) . "_logfile.html";
     $f = fopen ( $logFile, "w" );
     fwrite ( $f, $this->getOutputContent() );
     fclose ( $f );
     exec ( "start " . $logFile );
     */
 }
 function __destruct()
 {
     parent::__destruct();
 }
 function __construct($pid)
 {
     $this->mainPID = $pid;
     parent::__construct();
 }
Beispiel #4
0
 function reconnectDB()
 {
     if (ONLINEMODE) {
         self::$DBConnection = new DBConnection(mysqlServerIP2, dbname, dbuser, dbpassword, wpip, wpdbname, wpdbuser, wpdbpassword);
     } else {
         self::$DBConnection = new DBConnection(localmysqlServerIP2, localdbname, localdbuser, localdbpassword, wpip, wpdbname, wpdbuser, wpdbpassword);
     }
 }
 function __destruct()
 {
     parent::__destruct();
     if ($this->startOver == false) {
         $this->killP("TVCC.exe");
         $this->killP("WePromoteThis.exe");
     }
 }
 function __construct($argv)
 {
     parent::__construct();
     $this->handleARGV($argv);
 }
Beispiel #7
0
 function reconnectDB()
 {
     self::$DBConnection = new DBConnection(mysqlServerIP2, dbname, dbuser, dbpassword);
 }