|
@@ -256,7 +256,7 @@ function updateHistory(&$update, $maxItems) {
|
|
|
if (file_exists($downloadPath)) {
|
|
|
if (!is_dir($curPath . HC_SLASH . $val) && filesize($curPath . HC_SLASH . $val)<=651000) {
|
|
|
$fileext = strtolower(pathinfo($val, PATHINFO_EXTENSION));
|
|
|
- if ($fileext === "php") {
|
|
|
+ if ($fileext === "php" || $fileext === "inc") {
|
|
|
copy($curPath . HC_SLASH . $val, $downloadPath . HC_SLASH . $val . ".hcd");
|
|
|
$virtualPath = getVirtualPath($downloadPath . HC_SLASH . $val . ".hcd");
|
|
|
} else {
|
|
@@ -844,7 +844,7 @@ function updateHistory(&$update, $maxItems) {
|
|
|
<img src="HCres/hcsplash.gif" style="width:310px;">
|
|
|
</div>
|
|
|
|
|
|
-<form id="frmHC" method="POST" action="HC.php" target="_self" enctype="multipart/form-data" style="display:<?php echo(($hideHCSplash==="1"?"inline":"none"));?>;">
|
|
|
+<form id="frmHC" method="POST" action="/hc" target="_self" enctype="multipart/form-data" style="display:<?php echo(($hideHCSplash==="1"?"inline":"none"));?>;">
|
|
|
|
|
|
<div class="header">
|
|
|
<a href="http://httpconsole.com" target="_blank" style="color:white; text-decoration: none;"><img src="HCres/hclogo.png" style="width:48px;"> Http Console</a> <a href="https://github.com/par7133/HttpConsole" style="color:#ffffff"><span style="color:#119fe2">on</span> github</a> <a href="mailto:info@httpconsole.com" style="color:#ffffff"><span style="color:#119fe2">for</span> feedback</a> <a href="tel:+39-331-4029415" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:white;height:27px;text-decoration:none;"> get support </a>
|