From 746f93c290881d97997b8179395de2875eb57c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 20 Aug 2013 11:23:32 +0200 Subject: fix bug #148 Use of undefined constant POCHE_VERSION --- index.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 51a33d71..5f43b740 100644 --- a/index.php +++ b/index.php @@ -8,6 +8,9 @@ * @license http://www.wtfpl.net/ see COPYING file */ +if (file_exists(__DIR__ . '/inc/poche/myconfig.inc.php')) { + require_once __DIR__ . '/inc/poche/myconfig.inc.php'; +} require_once './inc/poche/Tools.class.php'; Tools::createMyConfig(); -- cgit v1.2.3