Initial project files: BESCMS full source

This commit is contained in:
bes
2026-08-13 23:37:46 +08:00
parent fa6cddb540
commit 2e26f85723
2166 changed files with 396625 additions and 0 deletions
@@ -0,0 +1,14 @@
<?php
class LtCacheAdapterFactory
{
public function getConnectionAdapter($adapter)
{
$adapterClassName = "LtCacheAdapter" . ucfirst($adapter);
if(!class_exists($adapterClassName))
{
trigger_error("Invalid adapter: $adapter");
return null;
}
return new $adapterClassName;
}
}