1
0
Nathaniel van Diepen 7 gadi atpakaļ
vecāks
revīzija
1e40e9ce83
2 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 2 0
      response.class.php
  2. 1 1
      router.class.php

+ 2 - 0
response.class.php

@@ -1,5 +1,7 @@
 <?php
+	require_once('events.trait.php');
 	class Response {
+		use Events;
 		public $output = '';
 		public $body = '';
 		private $code = 200;

+ 1 - 1
router.class.php

@@ -2,7 +2,7 @@
 	require_once('path.class.php');
 	require_once('response.class.php');
 	require_once('request.class.php');
-	require_once('events.interface.php');
+	require_once('events.trait.php');
 	class Router {
 		use Events;
 		private $_paths = [];