From b0a326e706cffcd48e30a7523f41d06a4ae2ed6e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 19 Mar 2007 18:16:39 +0000 Subject: [PATCH] Fixing makepo.sh.php to actually use deep directories --- docs/makepo.sh.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/makepo.sh.php b/docs/makepo.sh.php index 1c8b74c..ae59c12 100755 --- a/docs/makepo.sh.php +++ b/docs/makepo.sh.php @@ -32,11 +32,11 @@ foreach ($filelist AS $file) $ext = BSFunctions::FetchExtension($file); if ($ext == 'php') { - $files["$dirpath"] = BSFunctions::FetchSourcePath('./' . $dirpath) . '*.php'; + $files[dirname($file)] = BSFunctions::FetchSourcePath(dirname($file)) . '*.php'; } else if ($ext == 'xml' OR $ext == 'tpl' OR $ext == 'html' OR $ext == 'htm') { - $files["$dirpath"] = BSFunctions::FetchSourcePath('./' . $dirpath) . '*.php'; + $files[dirname($file)] = BSFunctions::FetchSourcePath(dirname($file)) . '*.php'; $templates[] = array( 'orig' => BSFunctions::FetchSourcePath('./' . $dirpath) . $file, 'temp' => BSFunctions::FetchSourcePath('./' . $dirpath) . $file . '.xgt.php' -- 2.43.5