Remove all the require_once : use autoloader
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user