30 lines
386 B
PHP
30 lines
386 B
PHP
#!/usr/bin/php
|
|
<?php
|
|
|
|
// EXPERIMENTAL : user data export.
|
|
die('Proof of concept');
|
|
|
|
include("config.php");
|
|
|
|
sem_release($alternc_sem);
|
|
|
|
$mem->su($id);
|
|
|
|
$dom->lock();
|
|
|
|
/*
|
|
foreach($classes as $c) {
|
|
if (method_exists($GLOBALS[$c],"alternc_export")) {
|
|
$GLOBALS[$c]->alternc_export("/tmp");
|
|
}
|
|
}
|
|
*/
|
|
|
|
$hooks->invoke("alternc_export",array("/tmp"));
|
|
|
|
$dom->unlock();
|
|
|
|
$mem->unsu();
|
|
|
|
?>
|