⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 restart_exporting.cgi

📁 Unix下基于Web的管理工具
💻 CGI
字号:
#!/usr/local/bin/perl# restart_exporting.cgi# Call unexportall and exportall to stop and re-start file exportingrequire './hpuxexports-lib.pl';$whatfailed = "Failed to apply changes";$temp = &tempname();system("$config{unexport_all_command} >/dev/null 2>$temp");$why = `/bin/cat $temp`;unlink($temp);#if ($why =~ /\S+/) {#	&error("Unexport failed : </h2><pre>$why</pre>");#	}system("$config{export_all_command} >/dev/null 2>$temp");$why = `/bin/cat $temp`;unlink($temp);if ($why =~ /\S+/) {	&error("Export failed : </h2><pre>$why</pre>");	}unlink($temp);&redirect("");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -