Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update in the script install.php to load PWGen
  • Loading branch information
root committed Oct 11, 2018
1 parent 16dd116 commit 47c4089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lodeladmin/install.php
Expand Up @@ -97,8 +97,8 @@ static private function mysql_query_file($file, $droptables = FALSE) {
}

static private function createPass() {
class_exists('PWGen') || include 'vendor/autoload.php';
$pwgen = new PWGen(15);
class_exists('PWGen') || include '../lodel/scripts/vendor/autoload.php';
$pwgen = new PWGen\PWGen(15);
return $pwgen->generate();
}

Expand Down

0 comments on commit 47c4089

Please sign in to comment.