Permalink
Browse files

Various cleanups and fixes

  • Loading branch information...
1 parent 5c53d44 commit 6483c585165f03032216193fea8ca5c5419fee8f @kematzy committed Dec 29, 2011
Showing with 10 additions and 15 deletions.
  1. +1 −1 lib/limonade/abstract.php
  2. +9 −14 lib/limonade/tests.php
@@ -39,7 +39,7 @@ function initialize()
* <code>
* function autoload_controller($callback)
* {
- * require_once_dir(option('controllers_dir'));
+ * require_once_dir(option('dir.controllers'));
* }
* </code>
*
View
@@ -307,20 +307,15 @@ function test_cli_format($text, $format)
return chr(27) . "[01;{$format} m{$text}" . chr(27) . "[00m";
}
-##
-# Do HTTP request and return the response content.
-#
-# @param string $url
-#
-# @param string $method
-#
-# @param bool $include_header
-#
-# @return string
-#
-# @author Nando Vieira
-#
-##
+/**
+ * Do HTTP request and return the response content.
+ *
+ * @param string $url
+ * @param string $method
+ * @param bool $include_header
+ * @return string
+ * @author Nando Vieira
+ */
function test_request($url, $method="GET", $include_header=false, $post_data=array(), $http_header=array())
{
$method = strtoupper($method);

0 comments on commit 6483c58

Please sign in to comment.