PHP Classes

File: test/bootstrap.php

Recommend this page to a friend!
  Classes of Victor Bolshov   Zephir HandlerSocket Client   test/bootstrap.php   Download  
File: test/bootstrap.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Zephir HandlerSocket Client
Access MySQL tables as NoSQL with HandlerSocket
Author: By
Last change: Different approach to logging. Use single Logger instance.
Date: 7 years ago
Size: 619 bytes
 

Contents

Class file image Download
<?php
/**
 * Created by PhpStorm.
 * User: vbolshov <bolshov@tradetracker.com>
 * Date: 5-10-15
 * Time: 20:41
 */

//dl("zhandlersocket.so");

define("ZHS_TABLE_MOVIE", "zhandlersocket_movie");

$connectionParams = include __DIR__ . "/connect.php";
define("ZHS_PORT_READ", $connectionParams["port_read"]);
define("ZHS_PORT_WRITE", $connectionParams["port_write"]);
define("ZHS_DSN", $connectionParams["dsn"]);
define("ZHS_USER", $connectionParams["user"]);
define("ZHS_PASSWORD", $connectionParams["password"]);
unset(
$connectionParams);

require_once
__DIR__ . "/BaseTest.php";
\
Zhandlersocket\BaseTest::setupTable();