mirror of
https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2025-10-03 16:20:58 +08:00
Update index.php
This commit is contained in:
parent
93471b5101
commit
ae503c24c4
1 changed files with 8 additions and 0 deletions
|
@ -7,6 +7,14 @@ Author URI: https://vontainment.com
|
|||
*/
|
||||
|
||||
// Display the content for logged in users
|
||||
session_start();
|
||||
|
||||
// Check if user is logged in
|
||||
if (!isset($_SESSION['logged_in']) || $_SESSION['logged_in'] !== true) {
|
||||
header("Location: login.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue