It seems that if require_once is called within function, the included file doesn\'t extend the global variable scope. How to require_once a
require_once
To summarize all the information:
functions are not an issue, they will be global anyway this way
for global variables, there are 2 options:
projects_init()