Browse Source

layouts: add support to base layout for starting a PHP session

main
darcy (iris system) 2 weeks ago
parent
commit
bfdcfd827e
  1. 5
      _layouts/base.html

5
_layouts/base.html

@ -1,4 +1,7 @@
<!DOCTYPE html>
{%- if page.php_session -%}<?php
session_name("neotildetel");
session_start();
?>{%- endif -%}<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">

Loading…
Cancel
Save