Quote:
Originally Posted by asiaphoto
Pardon my limited knowledge in PHP
how do modify articles.php so that it can function as a index.php file outside of my forum directory?
here's my problem in action
http://www.asiaphoto.com/forum/articles.php works
but
this doesn't work
http://www.asiaphoto.com/articles.php
i know i need to rewrite the paths in articles.php but i don't know which ones.
Dear Bananalive or other fellow coders, could you pls help me? thanks in advance.
|
Find in articles.php:
PHP Code:
define('THIS_SCRIPT', 'articles');
After add:
PHP Code:
$forumpath = '/home/site/public_html/forum';
chdir($forumpath);
altering $forumpath to the correct forum path