/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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;
}

?>