UPDATE FOR AUTOGENERATOR DATABASE NAMESPACES WITH - and _

This commit is contained in:
Stephan Kasdorf
2021-05-06 11:44:49 +02:00
parent 618c369433
commit b78f0c54ca
2 changed files with 41 additions and 3 deletions

View File

@@ -98,7 +98,7 @@ class Model extends Table
$template = str_replace('[FIELDARRAY]', $fieldarray, $this->getModelTemplate());
$template = str_replace('[TABLE]', $table, $template);
$template = str_replace('[CLASSNAME]', ucfirst($classname), $template);
$template = str_replace('[FOLDERNAME]', ucfirst($this->getDatabase()), $template);
$template = str_replace('[FOLDERNAME]', ucfirst($this->getFolderNamespace()), $template);
$template = str_replace('[DBSECTION]', $this->getConfigSection(), $template);
if($this->getDatabaseDriver()==self::DB_DRIVER_POSTGRESS)