remove unused files from public_html
This commit is contained in:
@@ -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>
|
|
||||||
@@ -50,9 +50,10 @@ try {
|
|||||||
$app->run(WebApplication::SERVICE_OAUTH2);
|
$app->run(WebApplication::SERVICE_OAUTH2);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WebApplication::RUNNING_INDEX:
|
// todo: remove in next iterations
|
||||||
$response = new Response(file_get_contents("index.html"), 302);
|
//case WebApplication::RUNNING_INDEX:
|
||||||
$response->send();
|
// $response = new Response(file_get_contents("index.html"), 302);
|
||||||
|
// $response->send();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WebApplication::RUNNING_DEFAULT:
|
case WebApplication::RUNNING_DEFAULT:
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user