Directory paths corrected in \ncc\Classes\PhpExtension\Templates > LibraryTemplate

This commit is contained in:
Netkas 2023-10-09 18:25:00 -04:00
parent 97f31399e3
commit de9ee13aa1
No known key found for this signature in database
GPG key ID: 5DAF58535614062B

View file

@ -51,7 +51,7 @@
IO::fwrite(
$project_manager->getProjectSourcePath() . DIRECTORY_SEPARATOR . $project_manager->getProjectConfiguration()->getAssembly()->getName() . '.php',
ConstantCompiler::compileConstants($project_manager->getProjectConfiguration(),
IO::fread(__DIR__ . DIRECTORY_SEPARATOR . 'TemplateFiles' . DIRECTORY_SEPARATOR . 'class.php.tpl')
IO::fread(__DIR__ . DIRECTORY_SEPARATOR . 'class.php.tpl')
)
);
}
@ -69,7 +69,7 @@
IO::fwrite(
$project_manager->getProjectPath() . DIRECTORY_SEPARATOR . 'Makefile',
ConstantCompiler::compileConstants($project_manager->getProjectConfiguration(),
IO::fread(__DIR__ . DIRECTORY_SEPARATOR . 'TemplateFiles' . DIRECTORY_SEPARATOR . 'Makefile.tpl')
IO::fread(__DIR__ . DIRECTORY_SEPARATOR . 'Makefile.tpl')
)
);
}