Forum rules
Support ended: 31.12.2011
by Finny » Sat Nov 28, 2009 12:21 pm
Gallery Version: 1.0.3
phpBB Version: 3.0.6
Gallery-Link: http://f4f.finnim.nlError description and messageHi all,
I've installed a new 3.0.6 forum in the map /website/forum/.
I also want to use the phpBB Gallery on this forum, however, the Gallery will be installed in /website/forum/gallery/.
But I want the Gallery in the map /website/gallery/. Is this possible, and how do i do this?
Thanks, Finny
-
Finny
- Posts 10 - 20

-
- Posts: 15
- Topics: 8
- Joined: Mon Mar 02, 2009 6:07 pm
by nickvergessen » Sat Nov 28, 2009 1:34 pm
Yes, just
move the
folder to that directory:
open forum/includes/constants.php
find:
- Code: Select all
define('GALLERY_ROOT_PATH', 'gallery/');
replace with:
- Code: Select all
define('GALLERY_ROOT_PATH', '../gallery/');
gallery/includes/root_path.php
find:
- Code: Select all
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : '../';
replace with:
- Code: Select all
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : '../forum/';
cheers
nickvergessen
Member of phpBB Development-Team
No Support via PM
-

nickvergessen
- Administrator

-
- Posts: 5748
- Topics: 217
- Images: 139
- Joined: Mon Oct 15, 2007 4:15 pm
- phpBB.de: nickvergessen
- phpBB.com: nickvergessen
-
Return to Support & Administration
Users browsing this forum: No registered users and 1 guest