*TplusScripter.php
private static function saveScript($scriptRoot, $scriptPath, $sizePad, $header, $script) {
$scriptRoot = preg_replace(['~\\\\+~','~/$~'], ['/',''], $scriptRoot);
if (!is_dir($scriptRoot)) {
if (!mkdir($scriptRoot, 0775, true)) {
throw new FatalError('[051] Script root path not found and failed to create: '.$scriptRoot);
}
}
...