Server IP : 49.212.180.16 / Your IP : 3.12.160.196 Web Server : Apache System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 User : utannto ( 1076) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/utannto/www/hironaka.biz/wp-content/plugins/exec-php/includes/ |
Upload File : |
<?php require_once(dirname(__FILE__).'/const.php'); // ----------------------------------------------------------------------------- // the ExecPhp_Style class displays the Exec-PHP style sheet if necessary // ----------------------------------------------------------------------------- if (!class_exists('ExecPhp_Style')) : class ExecPhp_Style { function ExecPhp_Style() { if (current_user_can(ExecPhp_CAPABILITY_EDIT_PLUGINS) || current_user_can(ExecPhp_CAPABILITY_EDIT_USERS)) { if (function_exists('wp_enqueue_style')) wp_enqueue_style(ExecPhp_ID_STYLE_ADMIN, ExecPhp_HOME_URL. '/css/admin.css'); else // WP < 2.6 add_action('admin_head', array(&$this, 'action_admin_head'), 5); } } // --------------------------------------------------------------------------- // hooks // --------------------------------------------------------------------------- function action_admin_head() { ?> <link rel='stylesheet' href='<?php echo ExecPhp_HOME_URL; ?>/css/admin.css' type='text/css' /> <?php } } endif; ?>