Moved misc file
This commit is contained in:
parent
2f70bfac41
commit
aeb62bba48
@ -20,7 +20,7 @@ if (!empty($fn)) {
|
||||
# Load required files
|
||||
require(__DIR__ . '/define.php');
|
||||
require(__DIR__ . '/autoload.php');
|
||||
require(__DIR__ . '/modules/misc.php');
|
||||
require(__DIR__ . '/misc.php');
|
||||
|
||||
# Validate parameters
|
||||
if (isset($_POST['albumIDs'])&&preg_match('/^[0-9\,]{1,}$/', $_POST['albumIDs'])!==1) exit('Error: Wrong parameter type for albumIDs!');
|
||||
|
@ -13,7 +13,7 @@ $lychee = __DIR__ . '/../../';
|
||||
# Load requirements
|
||||
require($lychee . 'php/define.php');
|
||||
require($lychee . 'php/autoload.php');
|
||||
require($lychee . 'php/modules/misc.php');
|
||||
require($lychee . 'php/misc.php');
|
||||
|
||||
# Start the session
|
||||
session_start();
|
||||
|
@ -16,7 +16,7 @@ session_start();
|
||||
# Load requirements
|
||||
require($lychee . 'php/define.php');
|
||||
require($lychee . 'php/autoload.php');
|
||||
require($lychee . 'php/modules/misc.php');
|
||||
require($lychee . 'php/misc.php');
|
||||
|
||||
# Set content
|
||||
header('content-type: text/plain');
|
||||
|
Loading…
Reference in New Issue
Block a user