|__www/
|
|__application/
| |__includes.php
|
|__public/
|__index.php
the line in the index.php says require_once ('application/includes.php');
and that includes.php file will have similar require_once which has reference to files under the subfolders of application.
i'm using ubuntu lamp stack. i got this open source project which was first developed in windows environment using the phped.
when i run the application in ubuntu it does not seem to find the path of the application.
i tried require_once(../aplication) and require_once(/home/user/pathname/); seems to work. then i have to modify every other files in the project. but is there a easier way to make the project work as it is? the project also uses the smarty framework.
links to the actual project:
http://code.google.com/p/vellorethiruma ... /index.php
http://code.google.com/p/vellorethiruma ... ig.inc.php