'operate_delete.htm'; break; case 'operate_move': $pre .= $default_pre .= 'operate_move.htm'; break; case '404': $pre .= $default_pre .= '404.htm'; break; case 'read_404': $pre .= $default_pre .= 'read_404.htm'; break; case 'list_404': $pre .= $default_pre .= 'list_404.htm'; break; default: $pre .= $default_pre .= theme_mode_pre(); break; } if ($config['theme']) { $conffile = APP_PATH . 'view/template/' . $config['theme'] . '/conf.json'; $json = is_file($conffile) ? xn_json_decode(file_get_contents($conffile)) : array(); } !empty($json['installed']) and $path_file = APP_PATH . 'view/template/' . $config['theme'] . '/htm/' . ($id ? $id . '_' : '') . $pre; (empty($path_file) || !is_file($path_file)) and $path_file = APP_PATH . 'view/template/' . $config['theme'] . '/htm/' . $pre; if (!empty($config['theme_child']) && is_array($config['theme_child'])) { foreach ($config['theme_child'] as $theme) { if (empty($theme) || is_array($theme)) continue; $path_file = APP_PATH . 'view/template/' . $theme . '/htm/' . ($id ? $id . '_' : '') . $pre; !is_file($path_file) and $path_file = APP_PATH . 'view/template/' . $theme . '/htm/' . $pre; } } !is_file($path_file) and $path_file = APP_PATH . ($dir ? 'plugin/' . $dir . '/view/htm/' : 'view/htm/') . $default_pre; return $path_file; } function theme_mode_pre($type = 0) { global $config; $mode = $config['setting']['website_mode']; $pre = ''; if (1 == $mode) { $pre .= 2 == $type ? 'portal_category.htm' : 'portal.htm'; } elseif (2 == $mode) { $pre .= 2 == $type ? 'flat_category.htm' : 'flat.htm'; } else { $pre .= 2 == $type ? 'index_category.htm' : 'index.htm'; } return $pre; } ?>linux

使用Windows11系统自带的虚拟机准备Linux环境

前言:本文记录一下如何使用Windows11系统自带的虚拟机安装Linux,您也可以使用其他软件自行安装 1、打开Windows上的虚拟机程序支持 打开“控制面板” → “启动或关闭Windo

2025-3-3630

⚡️狂神Linux学习笔记

文章目录 一、入门概述1-为什么要学Linux2-Linux简介3-Linux发行版4-Linux 应用领域5-Linux vs Windows 二、环境搭建1-安装CentOS(虚拟机安装,耗资

2025-3-3900

win10 安装cuda黑屏解决 linux安装cuda

目录 win10 安装cuda黑屏解决 linux 安装cdua win10 安装cuda黑屏解决 win10安装cuda8时,在安装图形驱动时黑屏,电脑基本死机状态,

2025-3-3970

Windows10从 微软商店 安装 linux(ubuntu)

一:电脑设置。 主要有两步设置:打开开发者模式、勾选适配linux的 系统设置 设置 -> 更新和安全 -> 针对开发人员 -> 选择开发者模式 2. 设置 -> 应用

2025-3-2820

Windows和linux双系统——修改默认启动顺序

电脑上装了Windows 7和Ubantu双系统,由于Linux系统用的次数比较少并且还是默认的启动项对此很不能容忍,因此得修改Windows为默认的启动项。 由于电脑上的系统引导程序是GRUB&

2025-3-2780

双系统:windows下编辑linux文件。

转载:http:blog.csdnblue7wingsarticledetails8774838 由于把Linux系统下的path变量给删了,导致开机登录后重新回到登录界面&#

2025-3-2670

Windows 10 linux 子系统 WSL 使用串口

Windows10的串口,在WSL中也可以直接使用,其对应关系就是 COMx对应WSL的devttySx,例如COM4对应WSL的devttyS4。 有了这个对应关

2025-3-2860

kali-linux之利用Metasploit操控win7系统

准备一台windows7系统的虚拟机作为靶机(我用的靶机地址为192.168.1.9) 一台装有kali-linux的虚拟机(我的kali ip地址为192.168.1.10) 2.kali中生成被控制端(通过msfve

2025-3-2660

windows和linux系统下tomcat指定jdk路径

[toc]windows和linux系统下tomcat指定jdk路径 1. windows系统下tomcat指定jdk路径 1.1 背景:windows计算上面可能部署多个jdk版本,tomc

2025-3-21100

安装适用于Linux的Windows11子系统(WSL2)

1. 主板BIOS开启虚拟化 开启虚拟化需要在BIOS中进行设置,进入主板BIOS→找到虚拟化设置→开启。 2. 检验是否开启虚拟化 打开Windows命令行,并运行 systeminfo

2025-3-2850

Windows 系统 重装为Linux记录

因为是老电脑,没怎么用,然后就又一个想法重装为Linux 准备好Linux镜像文件如果没有准备好,以下是网址:https:man.linuxd

2025-3-2580

windows加linux双系统安装方法

windows中标麒麟或中科方德的双系统安装方法 如果需要安装windows和linux系统双系统,需要先安装windows,windows的安装方法就不在这里说明了,安装了

2025-3-1730