Minor adding comments, adding folders in robots.txt

skala
Julio Montoya 12 years ago
parent 3c2a4d2c7d
commit 821fa0b397
  1. 2
      certificates/index.php
  2. 7
      index.php
  3. 9
      robots.txt
  4. 4
      temp/index.html

@ -1,6 +1,8 @@
<?php
/* For licensing terms, see /license.txt */
//Redirects to web/certificates/X
require_once '../main/inc/global.inc.php';
$id = isset($_GET['id']) ? intval($_GET['id']) : null;
$url = Certificate::getCertificatePublicURL($id);

@ -1,10 +1,5 @@
<?php
/* For licensing terms, see /license.txt */
/**
* @package chamilo.main
*/
//Temporal hack to redirect calls to the new web/index.php
// Redirect calls to web/index
header('Location: web/index');
exit;

@ -16,7 +16,6 @@
User-Agent: *
# Directories
Disallow: /archive/
Disallow: /courses/
Disallow: /documentation/
Disallow: /home/
@ -25,8 +24,12 @@ Disallow: /plugin/
Disallow: /searchdb/
Disallow: /tests/
Disallow: /config/
Disallow: /data/
Disallow: /temp/
Disallow: /logs/
Disallow: /vendor/
# Files
Disallow: /license.txt
Disallow: /README.txt
Disallow: /whoisonline.php
Disallow: /whoisonlinesession.php

@ -1,4 +0,0 @@
<html>
<body>
</body>
</html>
Loading…
Cancel
Save