Hi,
Is there anyway to passing custom data to skin/template?
Eg: I want to add USER_PHP_SECURE_MODE="ON" (my idea is using pre hook scripts)
so in config template
and in skin
Is there anyway to passing custom data to skin/template?
Eg: I want to add USER_PHP_SECURE_MODE="ON" (my idea is using pre hook scripts)
so in config template
Code:
|*if USER_PHP_SECURE_MODE|
disable_functions=exec,system,...
open_basedir = /home/|user|
|*endif|
and in skin
Code:
|*if USER_PHP_SECURE_MODE|
<span style="color:green;">ON</span>
|*else|
<span style="color:red;">OFF</span>
|*endif|