1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,38 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+/** |
|
4 |
+ * News notification extension for Contao |
|
5 |
+ * |
|
6 |
+ * Copyright (c) 2016 Benjamin Roth |
|
7 |
+ * |
|
8 |
+ * @link http://www.esales-media.de |
|
9 |
+ * @license commercial |
|
10 |
+ */ |
|
11 |
+ |
|
12 |
+/** |
|
13 |
+ * Register the namespaces |
|
14 |
+ */ |
|
15 |
+ClassLoader::addNamespaces(array |
|
16 |
+( |
|
17 |
+ 'eSM_nc_news', |
|
18 |
+)); |
|
19 |
+ |
|
20 |
+/** |
|
21 |
+ * Register the classes |
|
22 |
+ */ |
|
23 |
+ClassLoader::addClasses(array |
|
24 |
+( |
|
25 |
+ /** |
|
26 |
+ * Classes |
|
27 |
+ */ |
|
28 |
+ 'eSM_nc_news\NewsNotifications' => 'system/modules/eSM_nc_news/classes/NewsNotifications.php', |
|
29 |
+ |
|
30 |
+)); |
|
31 |
+ |
|
32 |
+/** |
|
33 |
+ * Register the templates |
|
34 |
+ */ |
|
35 |
+TemplateLoader::addFiles(array |
|
36 |
+( |
|
37 |
+ |
|
38 |
+)); |