Esempio n. 1
0
<?php

$_POST['props'] = "{\"db_server\": \"precmm0\", \"db_name\": \"PrecMagnet\", \"db_group\": \"NorthRing\"}";
$curdir = getcwd();
if (preg_match("/(.*)cache.php\$/", $_SERVER['SCRIPT_FILENAME'], $m)) {
    @chdir($m[1]);
}
require "../adei.php";
try {
    $req = new DATARequest();
    $cache = $req->CreateCache();
    $postfix = $cache->GetCachePostfix();
    $cache->Drop($postfix, "1424344528");
} catch (ADEIException $ae) {
    throw $ae;
}