[insert_php]
$htmlRoot = $_SERVER[“DOCUMENT_ROOT”];
$lastDirChar = strrpos( $htmlRoot, “/”);
if ($lastDirChar === false)
$root = $htmlRoot;
else
$root = substr( $htmlRoot, 0, $lastDirChar);
$GLOBALS[‘webArticleRootPath’] = $root;
$GLOBALS[‘webArticlePhpIncPath’] = $root.”/myPhpLib”;
include_once( $GLOBALS[‘webArticlePhpIncPath’].”/WordPressArticle.php”);
doWordPressArticle();
[/insert_php]