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

Binary file not shown.

Binary file not shown.

View File

@@ -76,7 +76,7 @@ class ProgressBar {
// Functions // Functions
////////////////////////////////////////// //////////////////////////////////////////
function reviseprefs($array) { // bad practice 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"; }