Added require config.php 

In case the file is loaded through JS.