Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -46,11 +46,7 @@ class _IpsCic extends \IPS\Email
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
if ( \IPS\CIC2 AND isset( $_SERVER['IPS_CLOUD2_ID'] ) )
|
||||
{
|
||||
$this->community = $_SERVER['IPS_CLOUD2_ID'];
|
||||
}
|
||||
elseif ( \IPS\CIC and preg_match( '/^\/var\/www\/html\/(.+?)(?:\/|$)/i', \IPS\ROOT_PATH, $matches ) )
|
||||
if ( \IPS\CIC and preg_match( '/^\/var\/www\/html\/(.+?)(?:\/|$)/i', \IPS\ROOT_PATH, $matches ) )
|
||||
{
|
||||
$this->community = $matches[1];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user