mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-03 12:49:20 +02:00
Move mass_* pages to correct folder
This commit is contained in:
parent
a080b21408
commit
9fadba7d07
@ -21,7 +21,7 @@ if (preg_match("/[^A-z0-9_\-]/", $tool)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$file = SYSTEM . 'pages/admin/tools/' . $tool . '.php';
|
||||
$file = ADMIN . 'tools/' . $tool . '.php';
|
||||
|
||||
if (@file_exists($file)) {
|
||||
require $file;
|
||||
|
@ -34,8 +34,8 @@ $menus = [
|
||||
],
|
||||
['name' => 'Tools', 'icon' => 'tools', 'order' => 100, 'link' =>
|
||||
[
|
||||
['name' => 'Mass Account Actions', 'link' => 'tools&tool=account', 'order' => 10],
|
||||
['name' => 'Mass Teleport Actions', 'link' => 'tools&tool=teleport', 'order' => 20],
|
||||
['name' => 'Mass Account Actions', 'link' => 'mass_account', 'icon' => 'globe', 'order' => 10],
|
||||
['name' => 'Mass Teleport Actions', 'link' => 'mass_teleport', 'icon' => 'globe', 'order' => 20],
|
||||
['name' => 'Notepad', 'link' => 'notepad', 'icon' => 'marker', 'order' => 30],
|
||||
['name' => 'phpinfo', 'link' => 'phpinfo', 'icon' => 'server', 'order' => 40],
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user