mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
database update, cleaned up some stuff
This commit is contained in:
parent
0d2c89e90d
commit
46ffeca144
12 changed files with 122 additions and 171 deletions
|
@ -23,6 +23,9 @@
|
|||
* as part of the get request
|
||||
*/
|
||||
|
||||
// Set that this is an ajax include
|
||||
define('AJAX_INCLUDE','1');
|
||||
|
||||
require_once '../lib/init.php';
|
||||
|
||||
/* Set the correct headers */
|
||||
|
@ -33,9 +36,6 @@ header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
|||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Pragma: no-cache");
|
||||
|
||||
// Set that this is an ajax include
|
||||
define('AJAX_INCLUDE','1');
|
||||
|
||||
switch ($_REQUEST['page']) {
|
||||
case 'stats':
|
||||
require_once Config::get('prefix') . '/server/stats.ajax.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue