protected static function _findOrCreateClientSerializerDirectory($purifierConfigSettings)
	{
		$client = \App::get('client');
		$clientAlias = isset($client->alias) ? $client->alias : $client->name;
		$clientSerializerPath = PATH_APP . "/cache/$clientAlias/htmlpurifier";

		if (!is_dir($clientSerializerPath))
		{
			\App::get('filesystem')->makeDirectory($clientSerializerPath);
		}

		if (is_dir($clientSerializerPath))
		{
			$purifierConfigSettings['Cache.SerializerPath'] = $clientSerializerPath;
		}
	}
protected static function _findOrCreateClientSerializerDirectory($purifierConfigSettings)
	{
		$client = \App::get('client');
		$clientAlias = isset($client->alias) ? $client->alias : $client->name;
		$clientSerializerPath = PATH_APP . "/cache/$clientAlias/htmlpurifier";

		if (!is_dir($clientSerializerPath))
		{
			\App::get('filesystem')->makeDirectory($clientSerializerPath);
		}

		if (is_dir($clientSerializerPath))
		{
			$purifierConfigSettings['Cache.SerializerPath'] = $clientSerializerPath;
		}
	}
protected static function _findOrCreateClientSerializerDirectory ( $ purifierConfigSettings ) { $ client = \ App :: get ( 'client' ) ; $ clientAlias = isset ( $ client -> alias ) ? $ client -> alias : $ client -> name ; $ clientSerializerPath = PATH_APP . "/cache/$clientAlias/htmlpurifier" ; if ( ! is_dir ( $ clientSerializerPath ) ) { \ App :: get ( 'filesystem' ) -> makeDirectory ( $ clientSerializerPath ) ; } if ( is_dir ( $ clientSerializerPath ) ) { $ purifierConfigSettings [ 'Cache.SerializerPath' ] = $ clientSerializerPath ; } }
Finds or creates client serializer directory

@param    array   $purifierConfigSettings   HTML purifier configuration settings
@return   void
Finds or creates client serializer directory