rodrodsalazar/PT_Browser — Issue #8: Find better solution for including other files
Author: rodrodsalazar
Created: 2012-02-29 03:10:35+00:00
State: open

Right now I am including a file which would declare global variables so that the file can use them and it looks like a huge mess when the goal is to make things easier and look nicer.

i.e.:

```
include_once $_SERVER['DOCUMENT_ROOT'].'/PT_Browser/server/util/GLOBALS.php';

include_once $GLOBALS['_MYROOT'].'dao/PokemonDAO.php';
include_once $GLOBALS['_MYROOT'].'util/PTLogger.php';
```