/**
  * Constructor.
  * 
  */
 function __construct()
 {
     $this->_CI =& get_instance();
     $this->_CI->load->model('pbcore_model');
     $this->_model = $this->_CI->pbcore_model;
     enable_errors();
 }
Exemplo n.º 2
0
 /**
  * Constructor.
  * 
  */
 function __construct()
 {
     $this->_CI =& get_instance();
     $this->_CI->load->model('pbcore_model');
     $this->_CI->load->library('import_essencetrack_mediainfo');
     $this->_model = $this->_CI->pbcore_model;
     enable_errors();
 }
Exemplo n.º 3
0
<?php

define('ABSPATH', '/home/intersango/intersango');
define('URLROOT', '/');
if (!file_exists(ABSPATH . "/trade.php")) {
    echo "ABSPATH should point to the intersango directory - the one that contains trade.php, etc.\n";
    exit;
}
require_once ABSPATH . "/errors.php";
enable_errors();
// do we have a bitcoind which was modified to deal only in integers?  ie. does "bitcoind getbalance" show a whole number?
define('INTEGER_BITCOIND', false);
// we recently had a bunch of fraudulent signups, and so are only allowing automatic BTC withdraws for users below this userid
define('LOWEST_UNTRUSTED_USERID', 1000);
// trust noone
// path to a directory to use for per-user locks - must be writable by the user who runs PHP scripts
define('LOCK_DIR', ABSPATH . "/locks");
// if user account is already busy, whether to wait for it to finish (true) or fail with an error (false)
define('BLOCKING_LOCKS', true);
// what locale to use for translations
define('LOCALE', 'en_CA');
// where to write logs
define('LOGFILE', ABSPATH . '/log.txt');
define('PROBLEM_LOGFILE', ABSPATH . '/log-problem.txt');
define('ERROR_LOGFILE', ABSPATH . '/log-error.txt');
define('BAD_PAGE_LOGFILE', ABSPATH . '/log-bad-page.txt');
// where to save uploaded identity documents
define('DOCDIR', ABSPATH . '/docs');
// whether to link to bitcoincharts;  '' means don't link, otherwise use a URL like 'http://bitcoincharts.com/markets/wbxAUD.html'
define('CHARTS_PAGE', '');
// the default time period to show on the statement page