You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/Console/Commands/AddSiteSettings.php
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,8 @@ public function handle()
103
103
104
104
$this->addSiteSetting('group_currency', 1, 'ID of the group currency to award from gallery submissions (if enabled).');
105
105
106
+
$this->addSiteSetting('is_maintenance_mode', 0, '0: Site is normal, 1: Users without the Has Maintenance Access power will be redirected to the home page.');
if($matches[0] == [] && $failOnError) thrownew \Exception('This URL is from an invalid site. Please provide a URL for a user profile from a site used for authentication.');
228
+
if($url) {
229
+
$recipient = null;
230
+
$matches = [];
231
+
// Check to see if url is 1. from a site used for auth
if($matches[0] == [] && $failOnError) thrownew \Exception('This URL is from an invalid site. Please provide a URL for a user profile from a site used for authentication.');
236
237
237
-
// and 2. if it contains an alias associated with a user on-site.
0 commit comments