FAQ - Hook: php_index_top

FAQ - Hook: php_index_top

1520


Use this hook to execute PHP code in the index.php file before anything else.

For example:

define('MY_VAR', "cool");

if you like to include a file:

APP_PATH.'plugins/yourplugin/file_to_include.php';