fixed index.php, added globals for zend dev. tools