mirror of
https://github.com/waytotheweb/scripts.git
synced 2026-03-30 00:57:07 +00:00
GPL v3 Release
This commit is contained in:
22
csf/cwp/configserver.php
Normal file
22
csf/cwp/configserver.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var newButtons = ''
|
||||
+' <li>'
|
||||
+' <a href="#" class="hasUl"><span aria-hidden="true" class="icon16 icomoon-icon-bug"></span>ConfigServer Scripts<span class="hasDrop icon16 icomoon-icon-arrow-down-2"></span></a>'
|
||||
+' <ul class="sub">'
|
||||
<?php
|
||||
|
||||
if (file_exists("/usr/local/cwpsrv/htdocs/resources/admin/modules/csfofficial.php")) {
|
||||
echo "+' <li><a href=\"index.php?module=csfofficial\"><span class=\"icon16 icomoon-icon-arrow-right-3\"></span>ConfigServer Firewall</a></li>'\n";
|
||||
}
|
||||
|
||||
if (file_exists("/usr/local/cwpsrv/htdocs/resources/admin/modules/cxs.php")) {
|
||||
echo "+' <li><a href=\"index.php?module=cxs\"><span class=\"icon16 icomoon-icon-arrow-right-3\"></span>ConfigServer Exploit Scanner</a></li>'\n";
|
||||
}
|
||||
|
||||
?>
|
||||
+' </ul>'
|
||||
+'</li>';
|
||||
$(".mainnav > ul").append(newButtons);
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user