1
0
Fork 0
mirror of https://github.com/Findus23/devicedetector.net.git synced 2024-09-19 15:43:46 +02:00

remove debug mode

This commit is contained in:
Lukas Winkler 2019-04-21 19:37:04 +02:00
parent a94e4bf547
commit 1e2bbb8e97
Signed by: lukas
GPG key ID: 54DE4D798D244853
2 changed files with 0 additions and 15 deletions

View file

@ -15,14 +15,6 @@ use Spyc;
require_once '../vendor/autoload.php'; require_once '../vendor/autoload.php';
$config = parse_ini_file("../config.ini");
if ($config["debug"]) {
header('Access-Control-Allow-Origin: *');
}
$cacheloader = new CacheLoader(); $cacheloader = new CacheLoader();

View file

@ -6,13 +6,6 @@ require_once '../vendor/autoload.php';
use DeviceDetector\DeviceDetector; use DeviceDetector\DeviceDetector;
use DeviceDetector\Parser\Device\DeviceParserAbstract; use DeviceDetector\Parser\Device\DeviceParserAbstract;
$config = parse_ini_file("../config.ini");
if ($config["debug"]) {
header('Access-Control-Allow-Origin: *');
}
// OPTIONAL: Set version truncation to none, so full versions will be returned // OPTIONAL: Set version truncation to none, so full versions will be returned
// By default only minor versions will be returned (e.g. X.Y) // By default only minor versions will be returned (e.g. X.Y)