Moved misc file

This commit is contained in:
Tobias Reich 2016-01-24 22:30:37 +01:00
parent 2f70bfac41
commit aeb62bba48
5 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ if (!empty($fn)) {
# Load required files # Load required files
require(__DIR__ . '/define.php'); require(__DIR__ . '/define.php');
require(__DIR__ . '/autoload.php'); require(__DIR__ . '/autoload.php');
require(__DIR__ . '/modules/misc.php'); require(__DIR__ . '/misc.php');
# Validate parameters # Validate parameters
if (isset($_POST['albumIDs'])&&preg_match('/^[0-9\,]{1,}$/', $_POST['albumIDs'])!==1) exit('Error: Wrong parameter type for albumIDs!'); if (isset($_POST['albumIDs'])&&preg_match('/^[0-9\,]{1,}$/', $_POST['albumIDs'])!==1) exit('Error: Wrong parameter type for albumIDs!');

View File

@ -13,7 +13,7 @@ $lychee = __DIR__ . '/../../';
# Load requirements # Load requirements
require($lychee . 'php/define.php'); require($lychee . 'php/define.php');
require($lychee . 'php/autoload.php'); require($lychee . 'php/autoload.php');
require($lychee . 'php/modules/misc.php'); require($lychee . 'php/misc.php');
# Start the session # Start the session
session_start(); session_start();

View File

@ -16,7 +16,7 @@ session_start();
# Load requirements # Load requirements
require($lychee . 'php/define.php'); require($lychee . 'php/define.php');
require($lychee . 'php/autoload.php'); require($lychee . 'php/autoload.php');
require($lychee . 'php/modules/misc.php'); require($lychee . 'php/misc.php');
# Set content # Set content
header('content-type: text/plain'); header('content-type: text/plain');

View File

@ -25,7 +25,7 @@
# Load required files # Load required files
require(__DIR__ . '/php/define.php'); require(__DIR__ . '/php/define.php');
require(__DIR__ . '/php/autoload.php'); require(__DIR__ . '/php/autoload.php');
require(__DIR__ . '/php/modules/misc.php'); require(__DIR__ . '/php/misc.php');
echo getGraphHeader($_GET['p']); echo getGraphHeader($_GET['p']);