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:
parent
a94e4bf547
commit
1e2bbb8e97
2 changed files with 0 additions and 15 deletions
|
@ -15,14 +15,6 @@ use Spyc;
|
|||
|
||||
require_once '../vendor/autoload.php';
|
||||
|
||||
$config = parse_ini_file("../config.ini");
|
||||
|
||||
|
||||
if ($config["debug"]) {
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
}
|
||||
|
||||
|
||||
$cacheloader = new CacheLoader();
|
||||
|
||||
|
||||
|
|
|
@ -6,13 +6,6 @@ require_once '../vendor/autoload.php';
|
|||
|
||||
use DeviceDetector\DeviceDetector;
|
||||
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
|
||||
// By default only minor versions will be returned (e.g. X.Y)
|
||||
|
|
Loading…
Reference in a new issue