]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Fix fatal error during the install 734/head
authorArthurHoaro <arthur@hoa.ro>
Tue, 3 Jan 2017 13:25:04 +0000 (14:25 +0100)
committerArthurHoaro <arthur@hoa.ro>
Tue, 3 Jan 2017 13:25:04 +0000 (14:25 +0100)
index.php

index 427eb23941cc319840afc43d676795edaba345b7..a4d7d7cac3e7269ef96ace736950cb241a3a6ad1 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1949,8 +1949,8 @@ function install($conf)
         $conf->set(
             'api.secret',
             generate_api_secret(
-                $this->conf->get('credentials.login'),
-                $this->conf->get('credentials.salt')
+                $conf->get('credentials.login'),
+                $conf->get('credentials.salt')
             )
         );
         try {