diff --git a/classes/controller/devtools.php b/classes/controller/devtools.php index b6f15ba..23e0d16 100644 --- a/classes/controller/devtools.php +++ b/classes/controller/devtools.php @@ -108,4 +108,15 @@ public function action_i18n() $this->template->content = View::factory('devtools/i18n',array('i18n'=>$i18n)); } + + /** + * Check PHP files for open/close tags + */ + public function action_phpcheck() + { + $class_files = Kohana::list_files('classes'); + $this->template->content = View::factory('devtools/phpcheck',array('class_files'=>$class_files)); + } + + } \ No newline at end of file diff --git a/views/devtools/phpcheck.php b/views/devtools/phpcheck.php new file mode 100644 index 0000000..47108bf --- /dev/null +++ b/views/devtools/phpcheck.php @@ -0,0 +1,95 @@ + + + +
| URI | + |
+
|---|---|
| File Location | + |
+
| Prefix Problem | + $value)
+ echo "Found \"".html::chars($value)."\"" + ?> + |
+
| Suffix Problem | + $value)
+ echo "Found \"".html::chars($value)."\"" + ?> + |
+