This file contains hidden or 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
function prodlog($message = "", $value = "") | |
{ | |
$logFile = "./log/qubit_prod.log"; | |
if ($value != null) { | |
$logMessage = $message.": "; | |
if (is_string($value)) { | |
count($value) > 0 ? $logMessage .= $value : $logMessage .= 'no value'; | |
} elseif (is_bool($value)) { |
This file contains hidden or 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
# AtoM bash script to load demo data into a vagrant environment | |
# Created by Dan Gillean, Artefactual Systems - [email protected] | |
# CC-BY-SA 4.0 | |
# v1 created June 29, 2018 | |
# v2 - fix typos, June 29, 2018 | |
# v3 - update for AtoM 2.6 compatibility, March 31, 2020 | |
# v4 - introduce optional choice for regen derivs, July 29, 2020 | |
# v5 - simplify uploads/downloads replacement; add change log, July 30, 2020 | |
# Requirements for this version: AtoM 2.6 or higher |