fix bug #148 Use of undefined constant POCHE_VERSION

This commit is contained in:
Nicolas Lœuillet
2013-08-20 11:23:32 +02:00
parent 38330bfd65
commit 746f93c290
3 changed files with 8 additions and 3 deletions

View File

@ -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();