blob: d12f63aae6d62d5036f6934b99a1049539af4a4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?xml version="1.0" encoding="UTF-8" ?>
<page>
<info>
<name>Modules:Enable</name>
<template>phpexec</template>
<access>0:0</access>
<type>c</type>
</info>
<data>
<code>
<![CDATA[
<?PHP
Uses('links', 'util');
if(!$_GET['name']) exit();
if($_GET['enable'] == 'true') $enable = true;
elseif($_GET['enable'] == 'false') $enable = false;
else exit();
$GLOBALS['modules']->Enable(Unquote($_GET['name']), $enable);
header('Location: ' . $GLOBALS['links']->GetNeonLink('Modules', null, false));
exit();
?>
]]>
</code>
</data>
</page>
|