summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-06-24 22:18:12 +0000
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-06-24 22:18:12 +0000
commit8ead24023bc76a32b15fc088c7f488252ee03864 (patch)
tree98d4ae54608fbda809993f39666a165109917bfe /pages
parente8ddbf67df1c3f006bed95331fd8b1ccc016a771 (diff)
downloadvdr-plugin-live-8ead24023bc76a32b15fc088c7f488252ee03864.tar.gz
vdr-plugin-live-8ead24023bc76a32b15fc088c7f488252ee03864.tar.bz2
- Don't show a directory named CVS in the theme selection. This is
usefull for alpha and beta testers using the anonymous cvs access. - Fixed typos and formatting in README.
Diffstat (limited to 'pages')
-rw-r--r--pages/setup.ecpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/setup.ecpp b/pages/setup.ecpp
index 1d832f6..ac9f2c5 100644
--- a/pages/setup.ecpp
+++ b/pages/setup.ecpp
@@ -162,8 +162,9 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
struct dirent* e;
string parent("..");
string current(".");
+ string cvsDir("CVS");
while ((e = d.Next())) {
- if ((current == e->d_name) || (parent == e->d_name)) {
+ if ((current == e->d_name) || (parent == e->d_name) || (cvsDir == e->d_name)) {
continue;
}
/* Check if entry is a directory: I do not rely on e->d_type