Popular
Newest
Updated
Sign in
Create an account
Categories
Admin Templates
204
Multipurpose Templates
164
Landing Pages
149
Portfolios & Resumes
86
Ecommerce
46
Blogs & Magazines
26
Directories & Listings
26
UI Kits & Website Builders
10
Documentation
5
Specialty
105
Topics
General
277
Business & Corporate
118
Design & Creative Services
114
Apps & Software
54
Retail & Shopping
34
Startups & SaaS
27
Marketing & Conversion
21
Restaurants & Cafes
17
Education & Learning
16
Jobs & Hiring
15
See all →
Compatible with
Bootstrap
774
PHP
42
React
41
Tailwind CSS
38
Laravel
26
Python
24
Angular
23
Django
20
Vue.js
20
ASP.NET Core
14
See all →
Discussion on
SmartAdmin - PHP Responsive WebApp
Details
Discussion
Back to discussions
Showing 1 – 2 of 2 replies
←
1
→
Instead of making individual pages […]
phayes0289
PURCHASED
2 years ago
Instead of making individual pages require the login, I want to make the entire website require a login. What is the best way to do that? If I put the authentication code on the ini.php file, I get into a never ending loop. Thanks.
Reply
lodev09
SELLER
2 years ago
What I would do is add another "init" layer for authenticated pages and public pages. e.g. use `init.php` for public and use `init.user.php`
Reply
phayes0289
PURCHASED
2 years ago
I got it working.... thanks
Reply
Close
Instead of making individual pages […]