Saturday 31 May 2003 10:43:24 am
I'm trying to make a php script run in eZp. Following the how-to: "How can I use my own php script inside eZp?" I did the following:
1. Edit the eZp index.php file: Between: - $scriptStartTime = microtime(); - ob_start(); Added:
- // phpBB login page
- ob_start();
- define('override_phpbb_root_path', 'forum/'); // path to the phpBB folder (if we're not in it), no beginning slash
- @include(override_phpbb_root_path . 'index_login.php');
- $phpbb_variable = ob_get_contents();
- ob_end_clean(); - // end phpBB login page 2. In the template where I want this to script to show up I added: - {$phpbb_variable}
Now I'm getting this error from EzDebug"
" Unknown template variable 'phpbb_variable' in namespace '' What is going wrong here?
|