diff options
author | Philip Nicolcev <frugen@gmail.com> | 2016-04-17 15:39:34 -0400 |
---|---|---|
committer | Philip Nicolcev <frugen@gmail.com> | 2016-04-17 15:39:34 -0400 |
commit | 202389846498457a9dfc8af274e5d87de29f97c5 (patch) | |
tree | 2c077eeab5b1cb5e7900628ce3f3d11abba6fb00 | |
parent | 5109626ba9ce43ac9a400676d453172670d65fb1 (diff) | |
download | AJAX-Chat-origin/punbb.zip AJAX-Chat-origin/punbb.tar.gz AJAX-Chat-origin/punbb.tar.bz2 |
Use dirname so that symlinks work.origin/punbb
-rw-r--r-- | chat/lib/custom.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chat/lib/custom.php b/chat/lib/custom.php index fd47e80..86eb4e7 100644 --- a/chat/lib/custom.php +++ b/chat/lib/custom.php @@ -6,11 +6,11 @@ * @license Modified MIT License * @link https://blueimp.net/ajax/ * - * PunBB integration: - * http://punbb.org/ + * FluxBB integration: + * http://fluxbb.org/ */ -// PunBB initialization: -define('PUN_ROOT', AJAX_CHAT_PATH.'../'); +// FluxBB initialization: +$fluxbb_root_path = dirname(AJAX_CHAT_PATH) . '/'; +define('PUN_ROOT', $fluxbb_root_path); require PUN_ROOT.'include/common.php'; -?>
\ No newline at end of file |