01-26-2019, 10:45 PM
Hi Tommy,
Generally, in this order, you will want to include the following code:
https://pastebin.com/vL70Hp9n
For the most part, the only requirement is the init.php file, and to protect it, the securePage function. It is possible the page is not being properly protected by z_us_root and the pages table. For a file to be protected, it must also have its directory in z_us_root and you should visit the Admin Pages section to add it. The page is most likely listed as a public page.
Brandin.
Generally, in this order, you will want to include the following code:
https://pastebin.com/vL70Hp9n
For the most part, the only requirement is the init.php file, and to protect it, the securePage function. It is possible the page is not being properly protected by z_us_root and the pages table. For a file to be protected, it must also have its directory in z_us_root and you should visit the Admin Pages section to add it. The page is most likely listed as a public page.
Brandin.