diff --git a/tools/modelGenerator.php b/tools/modelGenerator.php index a712c1f..e3b32f8 100755 --- a/tools/modelGenerator.php +++ b/tools/modelGenerator.php @@ -110,7 +110,7 @@ class modelGenerator $f .= "namespace $this->namespaceName;\n\n"; $f .= "require_once (\"domframework/dblayeroo.php\");\n\n"; $f .= "/** The model for $tableName table in the database\n */\n"; - $f .= "class $tableName extends \dbalyeroo\n"; + $f .= "class $tableName extends \dblayeroo\n"; $f .= "{\n"; $f .= " /** The constructor connect to database\n */\n"; $f .= " public function __construct ()\n {\n";