Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenvanvliet committed Mar 29, 2008
1 parent cba659c commit cd842fb
Show file tree
Hide file tree
Showing 3 changed files with 187 additions and 215 deletions.
215 changes: 0 additions & 215 deletions Request.php

This file was deleted.

26 changes: 26 additions & 0 deletions Response.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

class Response_Core{

private static $response=array();

public static function get_response_headers($key)
{
return self::$response;
}
public static function clear_headers($header)
{
self::$response=array();
}
public static function add_header($header)
{
self::$response[]=$header;
return true;
}
public static function send_headers()
{
foreach(self::$response as $response){
header($response);
}
}
}
Loading

0 comments on commit cd842fb

Please sign in to comment.