-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sunil
committed
Oct 9, 2024
1 parent
5a91cab
commit e06d7f1
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
/************************************************************************** | ||
Copyright (C) Chicken Katsu 2013 -2024 | ||
This code is protected by copyright under the terms of the | ||
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License | ||
http://creativecommons.org/licenses/by-nc-nd/4.0/legalcode | ||
For licenses that allow for commercial use please contact [email protected] | ||
// USE AT YOUR OWN RISK - NO GUARANTEES OR ANY FORM ARE EITHER EXPRESSED OR IMPLIED | ||
**************************************************************************/ | ||
|
||
$home = "../.."; | ||
require_once "$home/php/fragments/app-common.php"; | ||
require_once cAppGlobals::$spaceInc . "/misc/pichighlight.php"; | ||
require_once cAppGlobals::$spaceInc . "/misc/indexes.php"; | ||
require_once cAppGlobals::$ckPhpInc . "/common.php"; | ||
|
||
cDebug::check_GET_or_POST(); | ||
|
||
|
||
$sUser = cAuth::must_get_user(); | ||
$sSol = cHeader::get(cSpaceUrlParams::SOL, true, true); | ||
$sMission = cHeader::get(cSpaceUrlParams::MISSION, true); | ||
$oResult = cSpaceImageMosaic::get_sol_high_mosaic($sSol); | ||
|
||
|
||
//############################### response #################### | ||
include cAppGlobals::$appPhpFragments . "/rest_header.php"; | ||
$aOut = []; { | ||
$aOut[cSpaceUrlParams::SOL] = $sSol; | ||
$aOut[cSpaceUrlParams::MISSION] = $sMission; | ||
$aOut[cAppUrlParams::MOSAIC_PARAM] = $oResult->key; | ||
} | ||
cCommon::write_json((object)$aOut); |