First Commit

This commit is contained in:
marco
2026-09-01 10:46:29 -03:00
commit bf96b77e9c
10000 changed files with 3508600 additions and 0 deletions
+62
View File
@@ -0,0 +1,62 @@
<?php
namespace Kernel;
/**
* SysCMS - Content Management System
*
* Copyright (c) 2025 Marco Costa
* All rights reserved.
*
* Author: Marco Costa
* Email: contato@syspanel.com.br
* Project: SysCMS
*
* This software is licensed, not sold.
* Permission is granted to use this software
* subject to the terms of the SysCMS Commercial License.
*
* Redistribution, sublicensing, resale, or
* disclosure of this software, in whole or in part,
* is strictly prohibited without prior written permission.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
*/
class License
{
/**
* Checks the license and terminates the application if invalid.
*/
public static function checkGlobalBlock(): void
{
// No restriction
}
/**
* Checks if the system allows creating new companies.
* Always returns true.
*/
public static function canCreateCompany(): bool
{
return true;
}
/**
* Returns the current operation mode: 'mono' or 'multi'.
* Always returns 'multi'.
*/
public static function getMode(): string
{
return 'multi';
}
/**
* Checks if the license is valid for the current domain
* Always returns true.
*/
public static function isValidDomain(): bool
{
return true;
}
}