try {
$navArray = array();
$dbh = Toolkit_Database::getInstance();
- $pages = (defined('ALL_IN_ONE_INCLUDED')
- && ALL_IN_ONE_INCLUDED)
- ? unserialize(ALL_IN_ONE_INCLUDED)
+ $topLevelPages = (defined('TOP_LEVEL_PAGES')
+ && TOP_LEVEL_PAGES)
+ ? unserialize(TOP_LEVEL_PAGES)
: null;
- $includedPages = (!empty($pages))
- ? "AND (parent != 0 OR id IN (".implode(',', $pages)."))"
+ $includedPages = (!empty($topLevelPages))
+ ? "AND (parent != 0 OR id IN (".implode(',', $topLevelPages)."))"
: '';
$memberPages = (defined('MEMBERS_DB') && MEMBERS_DB)
? "AND id NOT IN (".MEMBERS_CATEGORY.")"
}
$securePagesArray = array();
define('SECURE_PAGES', serialize($securePagesArray));
-$nonMobilePagesArray = array();
-define('NON_MOBILE_PAGES', serialize($nonMobilePagesArray));
+$topLevelPages = array(13, 14, 15, 10);
+define('TOP_LEVEL_PAGES', serialize($topLevelPages));
/**
* URI used for the root of the site
*/