*/
function killme() {
- get_app()->end_process();
-
if (!get_app()->is_backend())
session_write_close();
unset($db_host, $db_user, $db_pass, $db_data);
};
-$a->start_process();
-
// the logfile to which to write, should be writeable by the user which is running the server
$sLogFile = get_config('jabber','logfile');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/session.php');
load_config('config');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/session.php');
require_once('include/datetime.php');
require_once('include/items.php');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/session.php');
require_once('include/datetime.php');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/session.php');
require_once('include/datetime.php');
require_once('include/ostatus.php');
unset($db_host, $db_user, $db_pass, $db_data);
}
- $a->start_process();
-
if ($argc==2) {
switch ($argv[1]) {
case "update":
unset($db_host, $db_user, $db_pass, $db_data);
}
- $a->start_process();
-
load_config('config');
load_config('system');
unset($db_host, $db_user, $db_pass, $db_data);
}
- $a->start_process();
-
require_once("include/session.php");
require_once("include/datetime.php");
require_once('include/items.php');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
load_config('config');
load_config('system');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/session.php');
require_once('include/datetime.php');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/session.php');
require_once('include/datetime.php');
require_once('include/items.php');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/session.php');
require_once('include/datetime.php');
unset($db_host, $db_user, $db_pass, $db_data);
}
- $a->start_process();
-
require_once("include/session.php");
require_once("include/datetime.php");
require_once('include/items.php');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/session.php');
require_once('include/datetime.php');
require_once('include/items.php');
}
if (array_search(__file__,get_included_files())===0){
- poller_run($_SERVER["argv"],$_SERVER["argc"]);
- killme();
+ poller_run($_SERVER["argv"],$_SERVER["argc"]);
+
+ get_app()->end_process();
+
+ killme();
}
?>
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/items.php');
load_config('config');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once("include/session.php");
require_once("include/datetime.php");
require_once('include/items.php');
unset($db_host, $db_user, $db_pass, $db_data);
}
-$a->start_process();
-
load_config('config');
load_config('system');
unset($db_host, $db_user, $db_pass, $db_data);
}
-$a->start_process();
-
load_config('config');
load_config('system');
unset($db_host, $db_user, $db_pass, $db_data);
}
-$a->start_process();
-
load_config('config');
load_config('system');
unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/Scrape.php');
require_once("include/socgraph.php");