src/classes/ClanCats.php
public static function directories( $dirs = null, $define = true )
	{
		if ( is_null( $dirs ) )
		{
			return static::$directories;
		}
		
		foreach( $dirs as $key => $dir )
		{
			static::$directories[$key] = $dir;
			
			if ( $define === true )
			{
				define( 'CCDIR_'.strtoupper( $key ), $dir );
			}
		}
	}
public static function directories( $dirs = null, $define = true )
	{
		if ( is_null( $dirs ) )
		{
			return static::$directories;
		}
		
		foreach( $dirs as $key => $dir )
		{
			static::$directories[$key] = $dir;
			
			if ( $define === true )
			{
				define( 'CCDIR_'.strtoupper( $key ), $dir );
			}
		}
	}
public static function directories ( $ dirs = null , $ define = true ) { if ( is_null ( $ dirs ) ) { return static :: $ directories ; } foreach ( $ dirs as $ key => $ dir ) { static :: $ directories [ $ key ] = $ dir ; if ( $ define === true ) { define ( 'CCDIR_' . strtoupper ( $ key ) , $ dir ) ; } } }
directories getter and setter

when dirs empty:
return all registerd directories

when dirs an array:
adds directories to the index and optional create a define.

@param array 			$paths
@param bool			$define
@return array|void
directories getter and setter