25 lines
417 B
PHP
Executable File
25 lines
417 B
PHP
Executable File
#!/usr/bin/php
|
|
<?
|
|
|
|
$p['bdest'] = "/tmp/";
|
|
$p['rsync_dest'] = "";
|
|
|
|
$p['readability'] = 0;
|
|
$p['fixatimes'] = 0;
|
|
$p['verify_stat'] = 0;
|
|
|
|
$p['meta'] = 1;
|
|
$p['thumbs'] = 1;
|
|
$p['thumb_size'] = 512;
|
|
$p['hash'] = 1;
|
|
$p['hash_limit'] = 1;
|
|
$p['contents'] = 1;
|
|
$p['spotlight'] = 1;
|
|
$p['profile'] = 1;
|
|
|
|
file_put_contents("prefs.php",serialize($p));
|
|
|
|
//$p = unserialize(file_get_contents(__DIR__."/prefs.php"));
|
|
//print_r($p);
|
|
|
|
?>
|