v2019. I have a custom page "dashboard" that is set as the default landing page...
when the index class is created, it is not set to that as requested.
i created another custom page and after regeneration, when you look at the index.php it set that newly created file as the default
not sure if that "default" checkbox on the tables page is to specify the "default" page to display when logging on.
Generated:
// If session expired, show session expired message
if (Get("expired") == "1")
$this->setFailureMessage($Language->phrase("SessionExpired"));
if (!$Security->isLoggedIn())
$Security->autoLogin();
$Security->loadUserLevel(); // Load User Level
if ($Security->allowList(CurrentProjectID() . '_FIRST_FILE_IN_LIST.php'))
$this->terminate("daemons/_FIRST_FILE_IN_LIST.php"); // Exit and go to default page
should be:
if ($Security->allowList(CurrentProjectID() . 'dashboard.php'))
$this->terminate("dashboard.php"); // Exit and go to default page
from what it appears, it seems its using the first "custom file" in that listing as the "default" page.