Permalink
Browse files

heroku phpinfo

  • Loading branch information...
1 parent a634e3d commit b930da33c00a6c8e3425428a6c0873f11e66449b Joshua Stauter committed Apr 15, 2012
Showing with 6 additions and 5 deletions.
  1. +4 −4 .gitmodules
  2. +1 −1 index.php
  3. +1 −0 phpinfo.php
View
@@ -1,6 +1,6 @@
[submodule "Slim"]
- path = Slim
- url = git@github.com:codeguy/Slim
+ path = Slim
+ url = git@github.com:codeguy/Slim.git
[submodule "ActiveRecord"]
- path = ActiveRecord
- url = git@github.com:kla/php-activerecord
+ path = ActiveRecord
+ url = git@github.com:kla/php-activerecord.git
View
@@ -11,7 +11,7 @@ class Todo extends ActiveRecord\Model { }
$app = new Slim();
-$app->get('/json', function() {
+$app->get('/todos', function() {
echo json_encode(array_map(function($todo) { return $todo->attributes(); }, Todo::all()));
});
View
@@ -0,0 +1 @@
+<?php phpinfo();

0 comments on commit b930da3

Please sign in to comment.