po4a: set destdir and srcdir

This commit is contained in:
Miraty 2024-02-10 17:59:10 +01:00
parent 5b1eac852c
commit eacc4b7785

View file

@ -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));