Topic: PHP include files (SSI)
SimpleCMS lets you edit PHP server side include files. You can use the following PHP functions to include files such as a global header/footer for a website.
require()
require_once()
include()
include_once()
The system is able to detect includes in the current folder, sub folders and parent folders. For example:
<?php
require('header.php');
require('../includes/header.php');
require('/includes/header.php');
?>
The code must be formated as in the examples above - including brackets, single or double quotes and ending with a semi-colon.
--
Short URL http://smplc.ms/ssi