Minor change
This commit is contained in:
parent
7e4b02bc04
commit
830133d102
2 changed files with 87 additions and 81 deletions
|
@ -1,14 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Socialbox\Abstracts;
|
namespace Socialbox\Abstracts;
|
||||||
|
|
||||||
use RuntimeException;
|
use RuntimeException;
|
||||||
use Socialbox\Classes\CacheLayer\MemcachedCacheLayer;
|
use Socialbox\Classes\CacheLayer\MemcachedCacheLayer;
|
||||||
use Socialbox\Classes\CacheLayer\RedisCacheLayer;
|
use Socialbox\Classes\CacheLayer\RedisCacheLayer;
|
||||||
use Socialbox\Classes\Configuration;
|
use Socialbox\Classes\Configuration;
|
||||||
|
|
||||||
abstract class CacheLayer
|
abstract class CacheLayer
|
||||||
{
|
{
|
||||||
private static ?CacheLayer $instance = null;
|
private static ?CacheLayer $instance = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -87,4 +87,4 @@ abstract class CacheLayer
|
||||||
|
|
||||||
return self::$instance;
|
return self::$instance;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -127,6 +127,12 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
http_response_code(400);
|
||||||
|
print('External domains are not supported yet');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue