diff --git a/cfg/conf.sample.php b/cfg/conf.sample.php
index 06f403e..6b9295e 100644
--- a/cfg/conf.sample.php
+++ b/cfg/conf.sample.php
@@ -9,7 +9,7 @@
; The full URL, with the domain name and directories that point to the PrivateBin files
; This URL is essential to allow Opengraph images to be displayed on social networks
-; path = ""
+; basepath = ""
; enable or disable the discussion feature, defaults to true
discussion = true
diff --git a/lib/Configuration.php b/lib/Configuration.php
index 90134c1..f929c81 100644
--- a/lib/Configuration.php
+++ b/lib/Configuration.php
@@ -38,7 +38,7 @@ class Configuration
private static $_defaults = array(
'main' => array(
'name' => 'PrivateBin',
- 'path' => '',
+ 'basepath' => '',
'discussion' => true,
'opendiscussion' => false,
'password' => true,
diff --git a/lib/Controller.php b/lib/Controller.php
index 6b6769d..744a523 100644
--- a/lib/Controller.php
+++ b/lib/Controller.php
@@ -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);
diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php
index 899be8b..003c668 100644
--- a/tpl/bootstrap.php
+++ b/tpl/bootstrap.php
@@ -74,7 +74,7 @@ endif;
-
+
@@ -86,11 +86,11 @@ endif;
-
+
-
+
diff --git a/tst/ViewTest.php b/tst/ViewTest.php
index 7bab166..2be83b4 100644
--- a/tst/ViewTest.php
+++ b/tst/ViewTest.php
@@ -34,6 +34,7 @@ class ViewTest extends PHPUnit_Framework_TestCase
/* Setup Routine */
$page = new View;
$page->assign('NAME', 'PrivateBinTest');
+ $page->assign('BASEPATH', false);
$page->assign('ERROR', self::$error);
$page->assign('STATUS', self::$status);
$page->assign('VERSION', self::$version);