Updated globals.php

Fixed the sample codes again