@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb011 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
wordpress
/
wp-content
/
plugins
/
ktai_style
/
admin
/
Path :
Upload File :
New :
File
Dir
//homepage/wordpress/wp-content/plugins/ktai_style/admin/admin.php
<?php /* ================================================== * based on wp-admin/admin.php, menu-header.php of WP 2.3 ================================================== */ define ('KS_ADMIN_MODE', TRUE); if (defined('ABSPATH')) { require_once ABSPATH . 'wp-config.php'; } else { require_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/wp-config.php'; } nocache_headers(); if (! isset($Ktai_Style) || ! $Ktai_Style->is_ktai() || ! class_exists('Ktai_Style_Admin')) { wp_redirect(get_bloginfo('wpurl') . '/wp-login.php'); exit(); } $KS_Admin = new Ktai_Style_Admin; $KS_Admin->auth_redirect(); $KS_Admin->renew_session(); require_once ABSPATH . 'wp-admin/admin-functions.php'; require_once dirname(dirname(__FILE__)) . '/tags.php'; if (ks_get_wp_version() < 2.3) { require_once ABSPATH . 'wp-admin/admin-db.php'; } update_category_cache(); wp_get_current_user(); require_once dirname(__FILE__) . '/menu.php'; $page_charset = $Ktai_Style->get('charset'); $iana_charset = $Ktai_Style->get('iana_charset'); $mime_type = 'text/html'; $Ktai_Style->ktai->set('mime_type', $mime_type); // don't use 'application/xhtml+xml' ?>