diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-06-24 22:18:12 +0000 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-06-24 22:18:12 +0000 |
commit | 8ead24023bc76a32b15fc088c7f488252ee03864 (patch) | |
tree | 98d4ae54608fbda809993f39666a165109917bfe /pages | |
parent | e8ddbf67df1c3f006bed95331fd8b1ccc016a771 (diff) | |
download | vdr-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.ecpp | 3 |
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 |