2012-10-15 15:41:09 +00:00
|
|
|
#!/usr/bin/php
|
2006-04-26 12:28:53 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// EXPERIMENTAL : user data export.
|
2012-10-15 15:41:09 +00:00
|
|
|
die('Proof of concept');
|
2006-04-26 12:28:53 +00:00
|
|
|
|
|
|
|
include("config.php");
|
|
|
|
|
|
|
|
sem_release($alternc_sem);
|
|
|
|
|
|
|
|
$mem->su($id);
|
|
|
|
|
|
|
|
$dom->lock();
|
|
|
|
|
2012-10-15 15:41:09 +00:00
|
|
|
/*
|
2006-04-26 12:28:53 +00:00
|
|
|
foreach($classes as $c) {
|
|
|
|
if (method_exists($GLOBALS[$c],"alternc_export")) {
|
|
|
|
$GLOBALS[$c]->alternc_export("/tmp");
|
|
|
|
}
|
|
|
|
}
|
2012-10-15 15:41:09 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
$hooks->invoke("alternc_export",array("/tmp"));
|
2006-04-26 12:28:53 +00:00
|
|
|
|
|
|
|
$dom->unlock();
|
|
|
|
|
|
|
|
$mem->unsu();
|
|
|
|
|
2012-10-15 15:41:09 +00:00
|
|
|
?>
|