2017-11-15 05:23:00 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
|
|
|
|
|
|
|
|
// Root directory path
|
|
|
|
$root_dir_path=realpath(dirname(__FILE__).'/../');
|
|
|
|
|
|
|
|
// Include App's includes and vendor directories to PHP include paths
|
|
|
|
set_include_path($root_dir_path.'/includes' . PATH_SEPARATOR . $root_dir_path.'/vendor' . PATH_SEPARATOR . get_include_path());
|
|
|
|
|
|
|
|
|
|
|
|
require_once('config.inc.php');
|
|
|
|
|
2017-11-19 14:29:23 +01:00
|
|
|
require $root_dir_path . '/vendor/autoload.php';
|
2017-11-15 05:23:00 +01:00
|
|
|
|
|
|
|
require_once('logging.php');
|
|
|
|
require_once('functions.php');
|
|
|
|
|
|
|
|
require_once('sms_gw_api.php');
|
2017-11-19 18:32:06 +01:00
|
|
|
$smsgw = new sms_gw_api($smsgw_url, $smsgw_ssl_verify, $smsgw_ws_connect_timeout, $smsgw_ws_timeout);
|
2017-11-15 05:23:00 +01:00
|
|
|
|
|
|
|
require('db.php');
|