Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rewriting to revolve around common.php*
#8
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.
Reply


Messages In This Thread
Rewriting to revolve around common.php* - by litzinger - 2010-01-21, 22:57:11



Users browsing this thread: 1 Guest(s)