removed APP_FUNCTION_DIR in index.php and dev.php