mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-07-24 03:09:51 +00:00
WIP
This commit is contained in:
21
public.php
Normal file
21
public.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/*
|
||||
|
||||
if cache is active
|
||||
if active is active load cache (scripts.js styles.css)
|
||||
load templates.json
|
||||
if template has cache for webpage and cache exist
|
||||
load the file
|
||||
else
|
||||
launch generateWebPage()
|
||||
|
||||
if modules are in the page
|
||||
load the modules
|
||||
|
||||
function generateWebPage()
|
||||
load pages/page.json
|
||||
load variables for theme
|
||||
generate the basic web page
|
||||
|
||||
*/
|
||||
?>
|
Reference in New Issue
Block a user