diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/setup.ecpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pages/setup.ecpp b/pages/setup.ecpp index edb88a7..9bb2261 100644 --- a/pages/setup.ecpp +++ b/pages/setup.ecpp @@ -265,7 +265,11 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP)) <td class="rightcol"><select name="theme" size="1" id="theme"> <%cpp> { +#if APIVERSNUM > 10729 + const string dirPath(Plugin::GetResourceDirectory() + "/themes"); +#else const string dirPath(Plugin::GetConfigDirectory() + "/themes"); +#endif cReadDir d(dirPath.c_str()); struct dirent* e; string parent(".."); |