adding index files in order to prevent directory listing.
[squirrelmail.git] / class / template / index.php
diff --git a/class/template/index.php b/class/template/index.php
new file mode 100644 (file)
index 0000000..fd6dfdf
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+/**
+ * index.php
+ *
+ * Copyright (c) 1999-2005 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if
+ * the person is logged or not.
+ *
+ * @version $Id$
+ * @package squirrelmail
+ */
+header('Location: ../index.php');
+?>
\ No newline at end of file