BASE . LOG,
'log_file_id' => $LOG_FILE_ID,
'log_per_date' => true,
]);
$PAGE_NAME = 'TEST CLASS: SYSTEM';
print "";
print "
" . $PAGE_NAME . "";
print "";
print '';
print '' . $PAGE_NAME . '
';
print "System::getHostName():
";
print "GETHOSTNAME: " . DgS::printAr(System::getHostName()) . "
";
print "System::getPageName():
";
print "GETPAGENAME(0): " . System::getPageName() . "
";
print "GETPAGENAME(1): " . System::getPageName(System::NO_EXTENSION) . "
";
print "GETPAGENAME(2): " . System::getPageName(System::FULL_PATH) . "
";
print "System::getPageNameArray():
";
print "GETPAGENAMEARRAY: " . \CoreLibs\Debug\Support::printAr(System::getPageNameArray()) . "
";
// seting errro codes file upload
print "System::fileUploadErrorMessage():
";
print "FILEUPLOADERRORMESSAGE(): " . System::fileUploadErrorMessage(-1) . "
";
print "FILEUPLOADERRORMESSAGE(UPLOAD_ERR_CANT_WRITE): "
. System::fileUploadErrorMessage(UPLOAD_ERR_CANT_WRITE) . "
";
print "System::checkCLI():
";
print "Are we in an CLI: " . (System::checkCLI() ? 'Yes' : 'No') . "
";
print "";