Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
pepiuox committed Jul 18, 2024
1 parent 0e1e345 commit 0edd0a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion classes/multiDomains.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

class BaseUrl {
class multiDomains {

protected $connection;

Expand Down
2 changes: 1 addition & 1 deletion config/Multisite.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Multisite {
public function __construct() {
$this->domain = $_SERVER['HTTP_HOST'];

include_once 'domains.php';
$websites = require 'domains.php';
$this->sites = $websites;
}

Expand Down
9 changes: 2 additions & 7 deletions installer/installUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,13 +253,8 @@ private function RegisterAdmin() {
$pass = $this->ende_crypter('encrypt', $password, $ekey, $eiv);
$cml = $this->ende_crypter('encrypt', $email, $ekey, $eiv);
$eusr = $this->ende_crypter('encrypt', $username, $ekey, $eiv);
$cpin = random_int(000000, 999999);
if (strlen($cpin) === 6) {
$pin = $cpin;
} else {
$pin = random_int(000000, 999999);
}

$pin = random_int(100000, 999999);

$lvl = 'Super Admin';

$status = 0;
Expand Down

0 comments on commit 0edd0a2

Please sign in to comment.