Make Opengraph really functional

Make Opengraph really functional

Change : #664 for #651
This commit is contained in:
ZerooCool
2020-07-01 19:47:12 +02:00
parent 13c2f8d968
commit e61c44ef46
5 changed files with 7 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ class Configuration
private static $_defaults = array(
'main' => array(
'name' => 'PrivateBin',
'path' => '',
'basepath' => '',
'discussion' => true,
'opendiscussion' => false,
'password' => true,

View File

@@ -369,7 +369,7 @@ class Controller
$page = new View;
$page->assign('NAME', $this->_conf->getKey('name'));
$page->assign('PATH', I18n::_($this->_conf->getKey('path')));
$page->assign('BASEPATH', I18n::_($this->_conf->getKey('basepath')));
$page->assign('ERROR', I18n::_($this->_error));
$page->assign('STATUS', I18n::_($this->_status));
$page->assign('VERSION', self::VERSION);