Permalink
Browse files

make a lib directory to help with confusion

  • Loading branch information...
1 parent 7b45fdf commit 7599ee42d7ea31f88c3e1451411ef7fc4867e040 @ptarjan committed Jun 5, 2012
View
@@ -1,6 +1,6 @@
<?php
-require_once('memcache.php');
+require_once('lib/memcache.php');
if (!$_SERVER['HTTPS']) {
header('WWW-Authenticate: Bearer, error=invalid_request');
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,7 +1,7 @@
<?php
-require_once('database.php');
-require_once('memcache.php');
+require_once('../lib/database.php');
+require_once('../lib/memcache.php');
function error($string, $desc) {
die(
View
@@ -1,7 +1,8 @@
<?php
-require_once('database.php');
-require_once('url_utils.php');
+require_once('../lib/database.php');
+require_once('../lib/memcache.php');
+require_once('../lib/url_utils.php');
if ($_GET['response_type'] !== 'code') {
throw new Exception('Only code response type supported');
@@ -1,8 +1,8 @@
<?php
-require_once('database.php');
-require_once('memcache.php');
-require_once('url_utils.php');
+require_once('../lib/database.php');
+require_once('../lib/memcache.php');
+require_once('../lib/url_utils.php');
$user_id = get_loggedin_user();
$m = get_memcache();

0 comments on commit 7599ee4

Please sign in to comment.