Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion installation/src/Helper/DatabaseHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,10 @@ public static function checkRemoteDbHost($options)

// Get the path
$remoteDbPath = JPATH_INSTALLATION . '/' . $remoteDbFile;
$emptyString = '';

// When the path is not writable the user needs to create the file manually
if (!File::write($remoteDbPath, '')) {
if (!File::write($remoteDbPath, $emptyString)) {
// Request to create the file manually
Factory::getApplication()->enqueueMessage(
Text::sprintf(
Expand Down