소스 검색

Added index in class dir to avoid unwanted directory listing. Minor
formatting modification to *.class files.

NOTE: We really want these files to be called *.class.php, not just
*.class.php.

thomppj 23 년 전
부모
커밋
249135cedd
3개의 변경된 파일20개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      class/html.class
  2. 20 0
      class/index.php
  3. 0 1
      class/mime.class

+ 0 - 1
class/html.class

@@ -5,7 +5,6 @@
  * Copyright (c) 2002 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
- *
  * This contains functions needed to generate html output.
  *
  * $Id$

+ 20 - 0
class/index.php

@@ -0,0 +1,20 @@
+<?php
+
+/**
+ * index.php
+ *
+ * Copyright (c) 1999-2002 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.
+ *
+ * $Id$
+ */
+
+header("Location:../index.php");
+
+/* pretty impressive huh? */
+
+?>

+ 0 - 1
class/mime.class

@@ -6,7 +6,6 @@
  * Copyright (c) 2002 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
- *
  * This contains functions needed to handle mime messages.
  *
  * $Id$