I am trying to integrate htmly with my slim4 set up. However, I am not able to configure and run it. I am trying my routes as follows.
$app->map(['GET', 'POST'],'/htmly/install', function (Request $request, Response $response,array $args) {
ob_start();
require_once(__DIR__.'/../htmly/install.php');
$out=ob_get_clean();
$response->getBody()->write($out);
return $response;
});
$app->get('/htmly[/{params:.*}]', function (Request $request, Response $response,array $args) {
ob_start();
require_once(__DIR__.'/../htmly/index.php');
$out=ob_get_clean();
$response->getBody()->write($out);
return $response;
});
it shows error
ERROR: parse_ini_file(lang\/en_US.ini): Failed to open stream: No such file or directory on line 52 in file \/slim4-skeleton\/htmly\/system\/includes\/dispatch.php."