Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

Version fonctionnelle de base

Emmanuel ROY authored on 13/06/2017 22:54:16
Showing 1 changed files
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
-}
Browse code

Nouvelle version faite en une matinée Dommage de ne pas retrouver l'ancienne

Dear IP-formation.

Emmanuel ROY authored on 15/04/2015 14:45:54
Showing 1 changed files
1 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
+}