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

initial commmit de la branche Nude with composer

git authored on 14/03/2019 16:48:02
Showing 1 changed files
... ...
@@ -4,10 +4,10 @@ error_reporting(-1);
4 4
 ini_set('display_errors', 1);
5 5
 
6 6
 define("APPLICATION_PATH", dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR."application");
7
-define("CLASSES_PATH", APPLICATION_PATH.DIRECTORY_SEPARATOR."class");
7
+define("VENDOR_PATH", dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR."vendor");
8 8
 
9
+//require APPLICATION_PATH.DIRECTORY_SEPARATOR."autoloader.php";
10
+require VENDOR_PATH.DIRECTORY_SEPARATOR."autoload.php";
9 11
 
10
-require CLASSES_PATH.DIRECTORY_SEPARATOR."application.class.php";
11
-
12
-$poo_v1 = new Application();
12
+$poo_v1 = new \MVC\Classe\Application();
13 13
 $poo_v1->launch();
Browse code

commit initial de la branch template-meny

git authored on 14/03/2019 10:30:11
Showing 1 changed files
... ...
@@ -1,5 +1,8 @@
1 1
 <?php
2 2
 
3
+error_reporting(-1);
4
+ini_set('display_errors', 1);
5
+
3 6
 define("APPLICATION_PATH", dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR."application");
4 7
 define("CLASSES_PATH", APPLICATION_PATH.DIRECTORY_SEPARATOR."class");
5 8
 
Browse code

update fonctionnel php5.3

git authored on 05/03/2019 13:26:50
Showing 1 changed files
1 1
old mode 100755
2 2
new mode 100644
... ...
@@ -1,8 +1,9 @@
1
-<?php 
1
+<?php
2 2
 
3 3
 define("APPLICATION_PATH", dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR."application");
4 4
 define("CLASSES_PATH", APPLICATION_PATH.DIRECTORY_SEPARATOR."class");
5 5
 
6
+
6 7
 require CLASSES_PATH.DIRECTORY_SEPARATOR."application.class.php";
7 8
 
8 9
 $poo_v1 = new Application();
Browse code

Version fonctionnelle de base

Emmanuel ROY authored on 13/06/2017 22:54:16
Showing 1 changed files
... ...
@@ -1,9 +1,9 @@
1 1
 <?php 
2 2
 
3 3
 define("APPLICATION_PATH", dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR."application");
4
-define("CLASSES_PATH", APPLICATION_PATH.DIRECTORY_SEPARATOR."classes");
4
+define("CLASSES_PATH", APPLICATION_PATH.DIRECTORY_SEPARATOR."class");
5 5
 
6 6
 require CLASSES_PATH.DIRECTORY_SEPARATOR."application.class.php";
7 7
 
8
-$poo_v1 = new Applications();
9
-$poo_v1->launch();
10 8
\ No newline at end of file
9
+$poo_v1 = new Application();
10
+$poo_v1->launch();
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,11 +1,9 @@
1
-<h1>Site1.debian-07.formation.dev</h1>
2
-<?php
1
+<?php 
3 2
 
4
-ini_set('display_errors', 1);
3
+define("APPLICATION_PATH", dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR."application");
4
+define("CLASSES_PATH", APPLICATION_PATH.DIRECTORY_SEPARATOR."classes");
5 5
 
6
-require_once 'test0.php';
7
-require_once 'test1.php';
6
+require CLASSES_PATH.DIRECTORY_SEPARATOR."application.class.php";
8 7
 
9
-for ($i=0;$i<10;$i++) {
10
-    echo $i;
11
-}
8
+$poo_v1 = new Applications();
9
+$poo_v1->launch();
12 10
\ No newline at end of file
Browse code

first commit

ER authored on 30/03/2012 09:12:56
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,11 @@
1
+<h1>Site1.debian-07.formation.dev</h1>
2
+<?php
3
+
4
+ini_set('display_errors', 1);
5
+
6
+require_once 'test0.php';
7
+require_once 'test1.php';
8
+
9
+for ($i=0;$i<10;$i++) {
10
+    echo $i;
11
+}