diff --git a/.gitmodules b/.gitmodules
index 11e4711..2931201 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,3 @@
-[submodule "conlite/plugins/cl-mod-rewrite"]
- path = conlite/plugins/cl-mod-rewrite
- url = https://gitport.de/ConLite/cl-mod-rewrite.git
[submodule "conlite/plugins/cl-newsletter"]
path = conlite/plugins/cl-newsletter
url = https://gitport.de/ConLite/cl-newsletter.git
diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml
new file mode 100644
index 0000000..a2b5907
--- /dev/null
+++ b/.idea/dataSources.xml
@@ -0,0 +1,12 @@
+
+
+
+
+ mariadb
+ true
+ org.mariadb.jdbc.Driver
+ jdbc:mariadb://localhost:3306/dev_clphp74
+ $ProjectFileDir$
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..aeb022b
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $PROJECT_DIR$/composer.json
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {
+ "keyToString": {
+ "RunOnceActivity.OpenProjectViewOnStart": "true",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "WebServerToolWindowFactoryState": "false",
+ "last_opened_file_path": "/var/www/html/clphp8/cms/data/modules/cl_contactform/php",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "npm",
+ "settings.editor.selected.configurable": "preferences.pluginManager",
+ "vue.rearranger.settings.migration": "true"
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1682358089636
+
+
+ 1682358089636
+
+
+
+
+
+
+
+ 1682442332378
+
+
+
+ 1682442332378
+
+
+ 1682442467699
+
+
+
+ 1682442467700
+
+
+ 1682442642783
+
+
+
+ 1682442642783
+
+
+ 1682445298959
+
+
+
+ 1682445298959
+
+
+ 1682445879204
+
+
+
+ 1682445879204
+
+
+ 1682446236100
+
+
+
+ 1682446236100
+
+
+ 1682446918410
+
+
+
+ 1682446918410
+
+
+ 1682450834252
+
+
+
+ 1682450834252
+
+
+ 1682513087275
+
+
+
+ 1682513087275
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/conlite/classes/template/class.template.php b/conlite/classes/template/class.template.php
index 738eb90..728b142 100644
--- a/conlite/classes/template/class.template.php
+++ b/conlite/classes/template/class.template.php
@@ -184,7 +184,6 @@ class Template {
global $cCurrentModule;
$cfg = cRegistry::getConfig();
- $aCfgClient = cRegistry::getClientConfig(cRegistry::getClientId());
$bModTplUsed = FALSE;
if (isset($cCurrentModule) && $cfg['dceModEdit']['use']) {
@@ -201,8 +200,8 @@ class Template {
}
}
- if (is_file("templates/" . $template) && !$bModTplUsed) {
- $template = "templates/" . $template;
+ if (is_file(cRegistry::getFrontendPath() . "templates/" . $template) && !$bModTplUsed) {
+ $template = cRegistry::getFrontendPath() . "templates/" . $template;
}
//check if the template is a file or a string