/usr/share/php/kohana2/modules/kodoc/views/kodoc/documentation.php is in libkohana2-modules-php 2.3.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | <?php defined('SYSPATH') OR die('No direct access allowed.');
if (empty($this->kodoc) OR count($docs = $this->kodoc->get()) < 1):
?>
<p><strong>Kodoc not loaded</strong></p>
<?php
return;
endif;
?>
<h2><?php echo $docs['file'] ?></h2>
<?php
if ( ! empty($docs['comments'])):
foreach ($docs['comments'] as $comment):
if ($docs['type'] === 'config'):
echo new View('kodoc/file_config', $comment);
elseif ( ! empty($comment['about'])):
echo $comment['about'];
endif;
endforeach;
endif;
if ( ! empty($docs['classes'])):
foreach ($docs['classes'] as $class):
echo new View('kodoc/class', $class);
endforeach;
endif;
?>
|