remove unused files from public_html

This commit is contained in:
Fernando Ontiveros
2025-04-21 13:35:23 +00:00
parent e749eb9b5e
commit 58e865e711
3 changed files with 4 additions and 22 deletions

View File

@@ -1,9 +0,0 @@
<FilesMatch "\.(htaccess|php|ini|log|sh|inc|bak|config)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<FilesMatch "^(app|sysGeneric|gmail|sso|templateForm|lostSession|uninstall|font|styles)\.php">
Order Allow,Deny
Allow from All
</FilesMatch>

View File

@@ -50,9 +50,10 @@ try {
$app->run(WebApplication::SERVICE_OAUTH2);
break;
case WebApplication::RUNNING_INDEX:
$response = new Response(file_get_contents("index.html"), 302);
$response->send();
// todo: remove in next iterations
//case WebApplication::RUNNING_INDEX:
// $response = new Response(file_get_contents("index.html"), 302);
// $response->send();
break;
case WebApplication::RUNNING_DEFAULT:

View File

@@ -1,10 +0,0 @@
<?php
session_start();
if (isset($_GET['code'])) {
$_SESSION['CODE_GMAIL'] = $_GET['code'];
echo "<SCRIPT language='Javascript' type='text/javascript'>";
echo "window.close()";
echo "</script>";
exit;
}