Skip to content

Commit

Permalink
update version number
Browse files Browse the repository at this point in the history
  • Loading branch information
SSilence committed Feb 2, 2013
1 parent 7cb42c5 commit 460d40f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ selfoss
Copyright (c) 2013 Tobias Zeising, [email protected]
http://selfoss.aditu.de
Licensed under the GPLv3 license
Version 2.0 beta
Version 2.0


INSTALLATION
Expand Down Expand Up @@ -81,5 +81,4 @@ Special thanks to the great programmers of this libraries which will be used in
* Spectrum Colorpicker: https://github.com/bgrins/spectrum
* jQuery custom content scroller: http://manos.malihu.gr/jquery-custom-content-scroller/


Icon Source: http://blog.artcore-illustrations.de/aicons/
12 changes: 5 additions & 7 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?php

//require __DIR__.'/libs/f3/base.php';

$f3 = require(__DIR__.'/libs/f3/base.php');

$f3->set('DEBUG',0);
$f3->set('version','2.0b');
$f3->set('version','2.0');
$f3->set('AUTOLOAD',__dir__.'/;libs/f3/;libs/;libs/WideImage/;daos/;libs/twitteroauth/;libs/FeedWriter/');
$f3->set('cache',__dir__.'/data/cache');
$f3->set('BASEDIR',__dir__);
Expand Down Expand Up @@ -53,14 +51,14 @@
$f3->route('GET /password', 'controllers\Index->password');
$f3->route('POST /password', 'controllers\Index->password');
$f3->route('GET /update', 'controllers\Items->update');
$f3->route('GET /tags', 'controllers\Tags->tags');
$f3->route('GET /tags', 'controllers\Tags->tags');

$f3->route('GET /api/login', 'controllers\Api->login');
$f3->route('GET /api/logout', 'controllers\Api->logout');

if($f3->get('auth')->isLoggedin()===true) {
$f3->route('POST /mark/@item', 'controllers\Items->mark');
$f3->route('POST /mark', 'controllers\Items->mark');
$f3->route('POST /mark', 'controllers\Items->mark');
$f3->route('POST /unmark/@item', 'controllers\Items->unmark');
$f3->route('POST /starr/@item', 'controllers\Items->starr');
$f3->route('POST /unstarr/@item', 'controllers\Items->unstarr');
Expand All @@ -70,8 +68,8 @@
$f3->route('POST /source/@id', 'controllers\Sources->write');
$f3->route('POST /source', 'controllers\Sources->write');
$f3->route('DELETE /source/@id', 'controllers\Sources->remove');
$f3->route('POST /tagset', 'controllers\Tags->tagset');
$f3->route('POST /tagset', 'controllers\Tags->tagset');
$f3->route('POST /api/items', 'controllers\Api->items');
$f3->route('GET /api/items', 'controllers\Api->items');
$f3->route('GET /api/mark/@item', 'controllers\Api->mark');
Expand Down

0 comments on commit 460d40f

Please sign in to comment.