Skip to content

Commit

Permalink
Homepage|Web: Reorganized sources for a separate API server
Browse files Browse the repository at this point in the history
Preparing to relocate the API server away from the main dengine.net
server.
  • Loading branch information
skyjake committed Sep 1, 2017
1 parent 74238cb commit 7b3c01a
Show file tree
Hide file tree
Showing 24 changed files with 637 additions and 376 deletions.
2 changes: 1 addition & 1 deletion web2/addons.php
Expand Up @@ -101,7 +101,7 @@ function generate_addon_blocks()
?>
<body>
<?php
include('include/topbar.inc.php');
include(DENG_LIB_DIR.'/topbar.inc.php');
generate_page_title($page_title);
?>
<div id='content'>
Expand Down
2 changes: 1 addition & 1 deletion web2/donate.php
Expand Up @@ -5,7 +5,7 @@
?>
<body>
<?php
include('include/topbar.inc.php');
include(DENG_LIB_DIR.'/topbar.inc.php');
generate_page_title($page_title);
?>
<div id='content'>
Expand Down
11 changes: 10 additions & 1 deletion web2/include/config.inc.php
Expand Up @@ -5,5 +5,14 @@
error_reporting(E_ALL ^ E_NOTICE);

define('SITE_ROOT', 'http://dengine.net');
define('SITE_DATA', '/home/skyjake/files/sitedata.json');
define('ROOT_PATH', '/home/skyjake/public_html');
define('DENG_API_DIR', '/home/skyjake/api/1');

define('DENG_API_URL', 'http://api.dengine.net/1');
define('DENG_MANUAL_URL', 'https://manual.dengine.net');
define('DENG_BLOG_URL', 'http://blog.dengine.net');

//define('DENG_LIB_DIR', '/home/skyjake/public_html/lib');
define('DENG_LIB_DIR', '/home/skyjake/public_html/web2/lib');
define('DENG_CACHE_PATH', '/home/skyjake/public_html/cache/api');
define('DENG_CACHE_MAX_AGE', 14*60);

0 comments on commit 7b3c01a

Please sign in to comment.