<?php
// Hello world and date expansion example (config file)
// An expansion config file must start with this line
defined('WM3_cEXEC') or die('Denied');
// General expansion configuration
$_EXPANSION['id'] = 1000; // Expansion unique ID (must be
>= 1000 and different from any other expansion ID)
$_EXPANSION['version'] = '1.0'; // Expansion version
$_EXPANSION['wm_version'] = '3.0.5'; // Minimum Webmatic version
needed to use the expansion
$_EXPANSION['language_path'] = 'lang/'; // Expansion language
path to use different languages in an expansion
// Administrator stage config
$_EXPANSION['admin']['enabled'] = true; // You can use this
expansion in administrator stage
$_EXPANSION['admin']['exec'] = 'index.php'; // File to execute
when this expansion its used in administrator stage
// User stage config
$_EXPANSION['user']['enabled'] = true; // You can use this
expansion in user stage
$_EXPANSION['user']['exec'] = 'index.php'; // File to execute
when this expansion its used in user stage
// Page config
$_EXPANSION[0]['page']['enabled'] = true; // You can use this
expansion inside a page
$_EXPANSION[0]['page']['exec'] = 'index.php'; // File to execute
when this expansion its used inside a page
// Panel config
$_EXPANSION[0]['panel']['enabled'] = true; // You can use
this expansion inside a panel
$_EXPANSION[0]['panel']['exec'] = 'index.php'; // File to
execute when this expansion its used inside a panel
// Home config
$_EXPANSION['home']['enabled'] = false; // Expansion is disabled
for home page
?>
|