new folders

This commit is contained in:
Nicolas Lœuillet
2015-01-20 07:40:39 +01:00
parent c78c1a3f08
commit 6ad93dff69
61 changed files with 146 additions and 97 deletions

25
app/config/global.inc.php Executable file
View File

@ -0,0 +1,25 @@
<?php
/**
* wallabag, self hostable application allowing you to not miss any content anymore
*
* @category wallabag
* @author Nicolas Lœuillet <nicolas@loeuillet.org>
* @copyright 2013
* @license http://opensource.org/licenses/MIT see COPYING file
*/
define('ROOT', dirname(__FILE__) . '/../..');
require_once ROOT . '/vendor/autoload.php';
# system configuration; database credentials et caetera
require_once dirname(__FILE__) . '/config.inc.php';
require_once dirname(__FILE__) . '/config.inc.default.php';
if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
date_default_timezone_set('UTC');
}
if (defined('ERROR_REPORTING')) {
error_reporting(ERROR_REPORTING);
}