blob: 5788204cbfe504661968c4ef9f05ce0076f4f070 (
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
|
<?xml version="1.0" encoding="UTF-8" ?>
<page>
<info>
<name>Modules:Enable</name>
<template>phpexec</template>
<access>0:0</access>
</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>
|