Remove all the require_once : use autoloader

This commit is contained in:
2021-05-07 11:45:26 +02:00
parent b1e513126e
commit 79c6d2fe50
36 changed files with 3 additions and 97 deletions
-5
View File
@@ -7,10 +7,6 @@
namespace Domframework;
require_once ("domframework/route.php");
require_once ("domframework/form.php");
require_once ("domframework/renderer.php");
/** Automatic Routing for SQL database
* Allow to do CRUD on data with only one line in index.php
*/
@@ -1901,7 +1897,6 @@ $content .= "</li>\n";
*/
private function rendererhtml ($data)
{
require_once ("domframework/outputhtml.php");
$route = new route ();
$html = new outputhtml ();