This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
+ { |