renamed src/admin/config.php to src/admin/index.php to prevent Apache directory listing
authorrohieb <devnull@localhost>
Sat, 26 Jul 2008 17:39:09 +0000 (19:39 +0200)
committerrohieb <devnull@localhost>
Sat, 26 Jul 2008 17:39:09 +0000 (19:39 +0200)
Makefile
nav/admin/99mod_room-reservation.mod
src/admin/config.php [deleted file]
src/admin/index.php [new file with mode: 0644]

index 9440ef6..410d622 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,7 @@ endif
        # web pages\r
        $(MKDIR) $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/admin\r
        $(LN) src/index.php $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/\r
-       $(LN) src/admin/config.php $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/admin/\r
+       $(LN) src/admin/*.php $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/admin/\r
        \r
        # additional files\r
        $(MKDIR) $(DESTDIR)/usr/share/iserv/modules/room-reservation\r
index 547a6dc..909891a 100644 (file)
@@ -1,4 +1,4 @@
 <?
 TreeNode(_("Room Reservation Schedule"),
-  "mod_room-reservation/admin/config.php", "mod_room-reservation_config");
+  "mod_room-reservation/admin/", "mod_room-reservation_config");
 ?>\r
diff --git a/src/admin/config.php b/src/admin/config.php
deleted file mode 100644 (file)
index e53b70a..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**\r
- * @file config.php
- * Configuration page\r
- * @author Roland Hieber (roland.hieber@wilhelm-gym.net)\r
- * @date 20.05.2008\r
- * \r
- * Copyright © 2007 Roland Hieber\r
- *\r
- * Permission is hereby granted, free of charge, to any person obtaining\r
- * copy of this software and associated documentation files (the "Software"),\r
- * to deal in the Software without restriction, including without limitation\r
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,\r
- * and/or sell copies of the Software, and to permit persons to whom the\r
- * Software is furnished to do so, subject to the following conditions:\r
- * \r
- * The above copyright notice and this permission notice shall be included in\r
- * all copies or substantial portions of the Software.\r
- *\r
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
- * THE SOFTWARE.\r
- */\r
-\r
-/** @todo document */\r
-
-require_once("sec/admsecure.inc");
-require_once("mod_room-reservation/globals.inc");\r
-require_once("mod_room-reservation/mod_roomReservationConfigPage.inc");
-
-$page = new mod_roomReservationConfigPage($g_rrCfg);
-$page->show();
-?>\r
diff --git a/src/admin/index.php b/src/admin/index.php
new file mode 100644 (file)
index 0000000..f4ef22e
--- /dev/null
@@ -0,0 +1,37 @@
+<?php
+/**\r
+ * @file index.php
+ * Configuration page\r
+ * @author Roland Hieber (roland.hieber@wilhelm-gym.net)\r
+ * @date 20.05.2008\r
+ * \r
+ * Copyright © 2007 Roland Hieber\r
+ *\r
+ * Permission is hereby granted, free of charge, to any person obtaining\r
+ * copy of this software and associated documentation files (the "Software"),\r
+ * to deal in the Software without restriction, including without limitation\r
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,\r
+ * and/or sell copies of the Software, and to permit persons to whom the\r
+ * Software is furnished to do so, subject to the following conditions:\r
+ * \r
+ * The above copyright notice and this permission notice shall be included in\r
+ * all copies or substantial portions of the Software.\r
+ *\r
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
+ * THE SOFTWARE.\r
+ */\r
+\r
+/** @todo document */\r
+
+require_once("sec/admsecure.inc");
+require_once("mod_room-reservation/globals.inc");\r
+require_once("mod_room-reservation/mod_roomReservationConfigPage.inc");
+
+$page = new mod_roomReservationConfigPage($g_rrCfg);
+$page->show();
+?>\r
This page took 0.034638 seconds and 4 git commands to generate.