<?php

if (!class_exists('oss\\OSSServer', false)) {
    throw new RuntimeException('OSS local stub was not preloaded');
}
$config = \oss\OSSServer::getInstance()->getConfig();
if ((int)($config['ossDisjunctor'] ?? 1) !== 0) {
    throw new RuntimeException('OSS uploads are not disabled for this process');
}
echo "local_oss_stub_active\n";
