summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2014-05-25 15:11:10 -0700
committerAaron Parecki <aaron@parecki.com>2014-05-25 15:11:10 -0700
commita3701e1e4f248ddb2e9fda275e55febecadc32cc (patch)
tree91a1c5aba700ed86ba39bf1ccd1168b8d832b8bb
parente9a6f679fad90170296f8e97d70a47ec8e99c392 (diff)
rename to quill
-rw-r--r--controllers/auth.php2
-rw-r--r--lib/config.template.php6
-rw-r--r--public/index.php2
-rw-r--r--views/signin.php4
4 files changed, 7 insertions, 7 deletions
diff --git a/controllers/auth.php b/controllers/auth.php
index 4686745..7caaba3 100644
--- a/controllers/auth.php
+++ b/controllers/auth.php
@@ -5,7 +5,7 @@ function buildRedirectURI() {
}
function clientID() {
- return 'https://indiepost.micropub.net';
+ return 'https://quill.p3k.io';
}
function build_url($parsed_url) {
diff --git a/lib/config.template.php b/lib/config.template.php
index b0dbab5..5dd1bf7 100644
--- a/lib/config.template.php
+++ b/lib/config.template.php
@@ -1,11 +1,11 @@
<?php
class Config {
- public static $hostname = 'indiepost.dev';
+ public static $hostname = 'quill.dev';
public static $gaid = '';
public static $dbHost = '127.0.0.1';
- public static $dbName = 'indiepost';
- public static $dbUsername = 'indiepost';
+ public static $dbName = 'quill';
+ public static $dbUsername = 'quill';
public static $dbPassword = '';
}
diff --git a/public/index.php b/public/index.php
index 0612b1d..c83b8dc 100644
--- a/public/index.php
+++ b/public/index.php
@@ -18,7 +18,7 @@ $app = new \Slim\Slim(array(
require 'controllers/auth.php';
require 'controllers/controllers.php';
-session_name('indiepost');
+session_name('quill');
session_set_cookie_params(86400*30);
session_start();
diff --git a/views/signin.php b/views/signin.php
index 228cf32..8e52c92 100644
--- a/views/signin.php
+++ b/views/signin.php
@@ -2,8 +2,8 @@
<form action="/auth/start" method="get">
<input type="text" name="me" placeholder="http://me.com" value="" class="form-control"><br>
- <input type="hidden" name="client_id" value="https://indiepost.micropub.net">
- <input type="hidden" name="redirect_uri" value="https://indiepost.micropub.net/auth/callback">
+ <input type="hidden" name="client_id" value="https://quill.p3k.io">
+ <input type="hidden" name="redirect_uri" value="https://quill.p3k.io/auth/callback">
<input type="submit" value="Sign In" class="btn btn-primary">
</form>