1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,21 +0,0 @@ |
1 |
-<?php |
|
2 |
-namespace MVC\Module\Setup; |
|
3 |
- |
|
4 |
-class Syf43 { |
|
5 |
- |
|
6 |
- /** |
|
7 |
- * @param none |
|
8 |
- * @return modular_symfony_web |
|
9 |
- */ |
|
10 |
- |
|
11 |
- public function load($name) { |
|
12 |
- ob_start(); |
|
13 |
- require( MODULES_PATH . DIRECTORY_SEPARATOR . $name . DIRECTORY_SEPARATOR . "public" . DIRECTORY_SEPARATOR . "index.php" ); |
|
14 |
- $modularApp = ob_get_clean(); |
|
15 |
- echo $modularApp; |
|
16 |
- } |
|
17 |
- |
|
18 |
- public static function twigLoader($name){ |
|
19 |
- require MODULES_PATH . DIRECTORY_SEPARATOR . "setup" . DIRECTORY_SEPARATOR . $name . ".twig.class.php"; |
|
20 |
- } |
|
21 |
-} |
|
22 | 0 |
\ No newline at end of file |
... | ... |
@@ -14,4 +14,8 @@ class Syf43 { |
14 | 14 |
$modularApp = ob_get_clean(); |
15 | 15 |
echo $modularApp; |
16 | 16 |
} |
17 |
+ |
|
18 |
+ public static function twigLoader($name){ |
|
19 |
+ require MODULES_PATH . DIRECTORY_SEPARATOR . "setup" . DIRECTORY_SEPARATOR . $name . ".twig.class.php"; |
|
20 |
+ } |
|
17 | 21 |
} |
18 | 22 |
\ No newline at end of file |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,17 @@ |
1 |
+<?php |
|
2 |
+namespace MVC\Module\Setup; |
|
3 |
+ |
|
4 |
+class Syf43 { |
|
5 |
+ |
|
6 |
+ /** |
|
7 |
+ * @param none |
|
8 |
+ * @return modular_symfony_web |
|
9 |
+ */ |
|
10 |
+ |
|
11 |
+ public function load($name) { |
|
12 |
+ ob_start(); |
|
13 |
+ require( MODULES_PATH . DIRECTORY_SEPARATOR . $name . DIRECTORY_SEPARATOR . "public" . DIRECTORY_SEPARATOR . "index.php" ); |
|
14 |
+ $modularApp = ob_get_clean(); |
|
15 |
+ echo $modularApp; |
|
16 |
+ } |
|
17 |
+} |
|
0 | 18 |
\ No newline at end of file |