Skip to content

Instantly share code, notes, and snippets.

diff --git a/classes/kohana/view.php b/classes/kohana/view.php
index 17b6fb5..7bffe36 100644
--- a/classes/kohana/view.php
+++ b/classes/kohana/view.php
@@ -130,6 +130,13 @@ class Kohana_View {
{
$this->set_filename($file);
}
+ else
+ {
<?php
if (isset($_POST['account']) AND ! empty($_POST['account']))
{
header('Content-Type: application/xml; charset=ISO-8859-1');
print_r load('http://twitter.com/users/show/'.$_POST['account'].'xml');
}
else
{
print 'Invalid input data.';