Code: Select all
require_once( '../../../core.php' ); // This is in a plugin, so this is where core.php is found for me
require_api( 'access_api.php' );
require_api( 'authentication_api.php' );
require_api( 'category_api.php' );
require_api( 'compress_api.php' );
require_api( 'config_api.php' );
require_api( 'constant_inc.php' );
require_api( 'current_user_api.php' );
require_api( 'gpc_api.php' );
require_api( 'helper_api.php' );
require_api( 'html_api.php' );
require_api( 'lang_api.php' );
require_api( 'print_api.php' );
require_api( 'user_api.php' );
require_css( 'status_config.php' );
auth_ensure_user_authenticated();
category_get_all_rows( helper_get_current_project() );
compress_enable();
html_robots_noindex();
html_page_top('Time');
There is more after this, but the failed html_page_top means it does not get executed.
I did some testing and found PHP can see most of the functions in html_api.php, but not all of them.
Please help!