Update index.php

Added fallback to check function_exists since it's generated in a different tool (Catalog Pointer module).