Using getData function now

This commit is contained in:
Matt Pass
2016-08-25 14:44:18 +01:00
parent 893894f97b
commit 3d8644ae4c
9 changed files with 11 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ $t = $text['settings-update'];
// Update our 'root' value to be blank
// which resets the file manager to localhost root again
if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn']) {
$settingsContents = file_get_contents($settingsFile,false,$context);
$settingsContents = getData($settingsFile);
// Replace our root var
$repPosStart = strpos($settingsContents,'"root"');
$repPosEnd = strpos($settingsContents,'"checkUpdates"');