comparison Flag.inc @ 92:f468365813c9

Set language header. Remove cruft.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Thu, 18 Oct 2012 14:04:19 +0200
parents 1d4c980f4255
children d98e315308cd
comparison
equal deleted inserted replaced
91:1d4c980f4255 92:f468365813c9
69 function mayValidate() 69 function mayValidate()
70 { 70 {
71 return false; 71 return false;
72 } 72 }
73 73
74
75 /** 74 /**
76 * Produce the actual content 75 * Produce the actual content
77 */ 76 */
78 function generateContent() 77 function generateContent()
79 { 78 {
80
81 $flag = loadFile($this->name); 79 $flag = loadFile($this->name);
82 80
83 if (floatval($flag) < 0) { 81 if (floatval($flag) < 0) {
84 errorPage('Resource not found', 404); 82 errorPage('Resource not found', 404);
85 } 83 }