mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2025-06-25 01:33:14 +02:00
Merge cc5081be8f
into 3ab48205d2
This commit is contained in:
commit
8f96a0826e
1 changed files with 2 additions and 2 deletions
|
@ -44,12 +44,12 @@ switch($type){
|
|||
\gp\tool\Plugins::Action('PageCreated');
|
||||
|
||||
if (session_status() == PHP_SESSION_NONE) {
|
||||
error_log("No active session detected. Attempting session_start()...");
|
||||
//error_log("No active session detected. Attempting session_start()...");
|
||||
if (!session_start()) {
|
||||
error_log("session_start() FAILED.");
|
||||
die("Session could not be started.");
|
||||
} else {
|
||||
error_log("session_start() SUCCEEDED. Session ID: " . session_id());
|
||||
//error_log("session_start() SUCCEEDED. Session ID: " . session_id());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue