Make makepo.sh.php work with ISSO 3.0
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 3 Apr 2008 16:42:03 +0000 (12:42 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 3 Apr 2008 16:42:03 +0000 (12:42 -0400)
* docs/makepo.sh.php

docs/makepo.sh.php

index 8e29d137fd14177a8305535b1bdd40b3679e7ef0..30fe8e79b229bdc926f76b04ba324ee2c8656b6a 100755 (executable)
 || ###################################################################
 \*=====================================================================*/
 
-require_once('/Server/htdocs/ISSO/Functions.php');
+require_once('/usr/local/apache2/htdocs/ISSO/Functions.php');
 
 // ###################################################################
 // generate the list of files to process
 
-$filelist = BSFunctions::ScanDirectory('.');
+$filelist = BSFunctions::scan_directory('.');
 
 foreach ($filelist as $file)
 {
-       $ext = BSFunctions::FetchExtension($file);
+       $ext = BSFunctions::fetch_extension($file);
        if ($ext == 'php')
        {
-               $files[dirname($file)] = BSFunctions::FetchSourcePath(dirname($file)) . '*.php';
+               $files[dirname($file)] = BSFunctions::fetch_source_path(dirname($file)) . '*.php';
        }
        else if ($ext == 'xml' || $ext == 'tpl' || $ext == 'html' || $ext == 'htm')
        {
-               $files[dirname($file)] = BSFunctions::FetchSourcePath(dirname($file)) . '*.php';
+               $files[dirname($file)] = BSFunctions::fetch_source_path(dirname($file)) . '*.php';
                $templates[] = array(
-                       'orig' => BSFunctions::FetchSourcePath('./' . $dirpath) . $file,
-                       'temp' => BSFunctions::FetchSourcePath('./' . $dirpath) . $file . '.xgt.php'
+                       'orig' => BSFunctions::fetch_source_path('./' . $dirpath) . $file,
+                       'temp' => BSFunctions::fetch_source_path('./' . $dirpath) . $file . '.xgt.php'
                );
        }
 }