2 require_once("boot.php");
4 function directory_run($argv, $argc){
12 @include(".htconfig.php");
13 require_once("dba.php");
14 $db = new dba($db_host, $db_user, $db_pass, $db_data);
15 unset($db_host, $db_user, $db_pass, $db_data);
21 load_config('system');
23 $a->set_baseurl(get_config('system','url'));
25 $dir = get_config('system','directory_submit_url');
30 fetch_url($dir . '?url=' . bin2hex($argv[1]));
35 if (array_search(__file__,get_included_files())===0){
36 directory_run($argv,$argc);