Skip to content
Permalink
Browse files

ccxt.php require Exchange, errors from php/base

  • Loading branch information
kroitor committed Oct 27, 2019
1 parent f9bd589 commit d0efa4bd92eb59dc1da90446409840043ce20eb5
Showing with 3 additions and 1 deletion.
  1. +3 −1 ccxt.php
@@ -31,6 +31,7 @@
namespace ccxt;

define('PATH_TO_CCXT', __DIR__ . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR);
define('PATH_TO_CCXT_BASE', PATH_TO_CCXT . 'base' . DIRECTORY_SEPARATOR);

spl_autoload_register(function ($class) {
// used to include static dependencies
@@ -50,7 +51,8 @@
require_once $file;
});

require_once PATH_TO_CCXT . 'errors.php';
require_once PATH_TO_CCXT_BASE . 'errors.php';
require_once PATH_TO_CCXT_BASE . 'Exchange.php';

spl_autoload_register (function ($class_name) {
$class_name = str_replace ("ccxt\\", "", $class_name);

0 comments on commit d0efa4b

Please sign in to comment.
You can’t perform that action at this time.