Expansions basis:


To create an expansion you must create a new folder in "core/expansion", in the folder you must create a file named "index.php" (that will contain the expansion code) and an empty file named "index.html".

The file "index.php" must have the following structure:

<?php

defined('WM3_cEXEC') or die('Denied');

.... your code here

?>

In the file you can use all the api of Webmatic (see APIs references).

todo ....