No, it’s not the case: the behaviour following your suggestion is exactly the same I already obtained.
For completeness, maybe I should now describe exactly what I do obtain with my solution.
The forum is installed in root, into folder "forum". That is, I do have in root:
[assets]
[manager]
[forum]
index.php
index-ajax.php
.htaccess
(...etc.)
At first, calling localhost/forum.html (friendly urls are activated), I had this MODx error:
« MODx Parse Error »MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: include(./extension.inc) [function.include]: failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: C:\path\to\project\root\forum\index.php
Line: 25
Line 25 source: include($phpbb_root_path . 'extension.inc');
Parser timing
MySQL: 0.0134 s (9 Requests)
PHP: 0.1489 s
Total: 0.1623 s
"extension.inc" is a file located into the phpbb forum dir, at the same level of the forum index.php.
So I have changed the value of $phpbb_root_path in forum/index.php, from this one:
...to this one:
$phpbb_root_path = 'forum/';
This way, the paths "work", but the result (calling localhost/forum.html) is a blank page; if I look the source code it’s nothing, empty, nothing at all.