Browse Source

rename to quill

pull/5/head
Aaron Parecki 11 years ago
parent
commit
a3701e1e4f
  1. 2
      controllers/auth.php
  2. 6
      lib/config.template.php
  3. 2
      public/index.php
  4. 4
      views/signin.php

2
controllers/auth.php

@ -5,7 +5,7 @@ function buildRedirectURI() {
} }
function clientID() { function clientID() {
return 'https://indiepost.micropub.net';
return 'https://quill.p3k.io';
} }
function build_url($parsed_url) { function build_url($parsed_url) {

6
lib/config.template.php

@ -1,11 +1,11 @@
<?php <?php
class Config { class Config {
public static $hostname = 'indiepost.dev';
public static $hostname = 'quill.dev';
public static $gaid = ''; public static $gaid = '';
public static $dbHost = '127.0.0.1'; 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 = ''; public static $dbPassword = '';
} }

2
public/index.php

@ -18,7 +18,7 @@ $app = new \Slim\Slim(array(
require 'controllers/auth.php'; require 'controllers/auth.php';
require 'controllers/controllers.php'; require 'controllers/controllers.php';
session_name('indiepost');
session_name('quill');
session_set_cookie_params(86400*30); session_set_cookie_params(86400*30);
session_start(); session_start();

4
views/signin.php

@ -2,8 +2,8 @@
<form action="/auth/start" method="get"> <form action="/auth/start" method="get">
<input type="text" name="me" placeholder="http://me.com" value="" class="form-control"><br> <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"> <input type="submit" value="Sign In" class="btn btn-primary">
</form> </form>

Loading…
Cancel
Save