2010-01-21, 22:57:11
Nijikokun, what if, like in my case, I create a file in my plugin that is 3 levels deep... e.g.
admin/plugins/myplugin/file.php
If common.php is to become the main included file that loads everything else, how do I include it if it is 3 levels up in the parent directories? That is the problem I was trying to solve yesterday, because require(../../../common.php); doesn't work.
admin/plugins/myplugin/file.php
If common.php is to become the main included file that loads everything else, how do I include it if it is 3 levels up in the parent directories? That is the problem I was trying to solve yesterday, because require(../../../common.php); doesn't work.