Skip to content

Instantly share code, notes, and snippets.

View thecookie's full-sized avatar

Christopher Östlund thecookie

  • Mojang
  • Stockholm, Sweden
View GitHub Profile
<?php
require_once 'Sophpa/Database.php';
require_once 'Sophpa/Resource.php';
require_once 'Sophpa/Http/Curl.php';
require_once 'Sophpa/Document.php';
require_once 'Sophpa/View.php';
$http = new Sophpa_Http_Curl();
$resource = new Sophpa_Resource($http, 'http://eee:5984/test');
<?php
'Router' => array(
'class' => 'Zend_Controller_Router_Rewrite',
/*'methods' => array(
array('method' => 'addRoute', 'arguments' => array('username', 'RouteHostname')),
),*/
'factory' => array('FrontController', 'getRouter')
),
christopher@shuttle:~/dev/Sophpa$ git log --pretty="format:%H"
4530affa51a81cd122773402761bde98563af9de
8a35976889945ffe685c69df9abe39f80661219e
4d80f1cc7decdeb30d29b3fd01aa72248edb830e
7f642bf782ddaa748fa1e20463ef8fef773102a7
b2708fde34de29f239295e75e2580bd3ea53936c
a567e659665e7b1b7c7b663a0b903460461aff9a
84e80938e6247b149c2da6c883d03c8d6e737588
Array
(
[md2] => Array
(
[2] => 372
[3] => 324
[0] => 1178
[1] => 363
[time] => 0.39133810997
)