1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,20 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-define( "CONTROLLERS_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "controlleurs"); |
|
4 |
- |
|
5 |
-require CLASSES_PATH.DIRECTORY_SEPARATOR."url.class.php"; |
|
6 |
- |
|
7 |
-class Application |
|
8 |
-{ |
|
9 |
- public $url; |
|
10 |
- |
|
11 |
- public function __construct(){ |
|
12 |
- $this->$url = new Url(); |
|
13 |
- } |
|
14 |
- |
|
15 |
- public function launch(){ |
|
16 |
- $controlleur = new Controlleur($this); |
|
17 |
- print( $controlleur->$vue->$ecran ); |
|
18 |
- } |
|
19 |
- |
|
20 |
-} |
Dear IP-formation.
Emmanuel ROY authored on 15/04/2015 14:45:541 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,20 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+define( "CONTROLLERS_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "controlleurs"); |
|
4 |
+ |
|
5 |
+require CLASSES_PATH.DIRECTORY_SEPARATOR."url.class.php"; |
|
6 |
+ |
|
7 |
+class Application |
|
8 |
+{ |
|
9 |
+ public $url; |
|
10 |
+ |
|
11 |
+ public function __construct(){ |
|
12 |
+ $this->$url = new Url(); |
|
13 |
+ } |
|
14 |
+ |
|
15 |
+ public function launch(){ |
|
16 |
+ $controlleur = new Controlleur($this); |
|
17 |
+ print( $controlleur->$vue->$ecran ); |
|
18 |
+ } |
|
19 |
+ |
|
20 |
+} |