How to use config variables in calendar/lib.php script

How to use config variables in calendar/lib.php script

by Pravin Deshmukh -
Number of replies: 1

Hello,

I am using moodle version 2.8

I want to use config variable in calendar/lib.php script

So how can I achieve this. Basically config.php is not included in calendar/lib.php script and I tried to 

include it using "require_once('../config.php');", Showing blank page.

Average of ratings: -
In reply to Pravin Deshmukh

Re: How to use config variables in calendar/lib.php script

by Hittesh Ahuja -

Turn debugging on and see what errors you get when you go to that page 


Hittesh