diff --git a/codepot/src/codepot/views/code_folder.php b/codepot/src/codepot/views/code_folder.php index d3d2d596..86a674fc 100644 --- a/codepot/src/codepot/views/code_folder.php +++ b/codepot/src/codepot/views/code_folder.php @@ -187,7 +187,8 @@ $this->load->view ( $rownum = 0; foreach ($file['content'] as $f) { - $fullpath = $headpath . '/' . $f['name']; + //$fullpath = $headpath . '/' . $f['name']; + $fullpath = $file['fullpath'] . '/' . $f['name']; $rowclass = $rowclasses[++$rownum % 2]; if ($f['type'] === 'dir')