<?
if( is_object( $cls ) )
$cls->add_warning( "Warning from an included file...", "INCLUDES" );
else
echo "This file should be included from exaple.php";
if( !function_exists( "inc_func_set_error" ) )
{
function inc_func_set_error( $code, $msg )
{
global $cls;
$cls->set_error( $code, $msg );
}
}
?>
|