Hi,
how can I require a file from another folder.
For example: There are the folders mod/newmodule/one and mod/newmodule/two. A file in folder one needs to get access to a file of folder two.
I tried the following, but nothing worked:
require_once(dirname(__FILE__).'/two/filetwo.php');
require_once($CFG->dirroot.'/mod/newmodule/two/filetwo.php');
What did I do wrong?