Lines Matching defs:path
72 * @param string $path path to plugin or template dir
75 protected function processExtensions($path, $keep_langs)
77 if (is_dir($path)) {
78 $entries = scandir($path);
82 if (is_dir($path . '/' . $entry)) {
83 $plugin_langs = $path . '/' . $entry . '/lang';
95 * Strip languages from path
97 * @param string $path path to lang dir
100 protected function stripDirLangs($path, $keep_langs)
102 $dir = dir($path);
105 if ($cur_dir != '.' && $cur_dir != '..' && is_dir($path . '/' . $cur_dir)) {
107 io_rmdir($path . '/' . $cur_dir, true);