This commit is contained in:
2019-10-09 04:18:29 -07:00
parent 8c96238db7
commit e60a7db6df
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -80,7 +80,7 @@ function revise_prefs($array) { // bad practice
$prefs_file = "/Users/".get_current_user()."/Library/Preferences/org.profiteroles.Yuba.php"; $prefs_file = "/Users/".get_current_user()."/Library/Preferences/org.profiteroles.Yuba.php";
$p = unserialize(file_get_contents($prefs_file)); $p = unserialize(file_get_contents($prefs_file));
foreach ($array as $key => $value) { $p[$key] = "value"; } foreach ($array as $key => $value) { $p[$key] = "value"; }
file_put_contents($prefs_file,serialize($result)); file_put_contents($prefs_file,serialize($p));
} }
function prettysize($size) { function prettysize($size) {