Browse Source

rename to quill

pull/5/head
Aaron Parecki 10 years ago
parent
commit
a3701e1e4f
4 changed files with 7 additions and 7 deletions
  1. +1
    -1
      controllers/auth.php
  2. +3
    -3
      lib/config.template.php
  3. +1
    -1
      public/index.php
  4. +2
    -2
      views/signin.php

+ 1
- 1
controllers/auth.php View File

@ -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) {

+ 3
- 3
lib/config.template.php View File

@ -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 = '';
} }

+ 1
- 1
public/index.php View File

@ -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();

+ 2
- 2
views/signin.php View File

@ -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