From eacc4b7785d46b1f6c3f92c30b441208cf224dfd Mon Sep 17 00:00:00 2001 From: Miraty Date: Sat, 10 Feb 2024 17:59:10 +0100 Subject: [PATCH] po4a: set destdir and srcdir --- mkht.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkht.php b/mkht.php index 1f8bb00..76f84c0 100755 --- a/mkht.php +++ b/mkht.php @@ -81,7 +81,7 @@ foreach($nodes_src as $node) { } if (file_exists(SITE . 'po4a.cfg')) - exec('po4a ' . SITE . 'po4a.cfg'); + exec('po4a --destdir ' . SITE . ' --srcdir ' . SITE . ' ' . SITE . 'po4a.cfg'); $nodes_cache = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(SITE . 'cache/', RecursiveDirectoryIterator::SKIP_DOTS));