public static function create()
	{
		if ( file_exists( self::$authFile ) ) return false;
		if ( @touch( self::$authFile ) === false ) return false;

		self::$auth = array(
			'generated' => date('U'),
			'security'  => self::generateSecurityToken(),
			'anonymous' => array(),
			'users'     => array(),
		);

		self::save();

		return true;
	}
public static function create()
	{
		if ( file_exists( self::$authFile ) ) return false;
		if ( @touch( self::$authFile ) === false ) return false;

		self::$auth = array(
			'generated' => date('U'),
			'security'  => self::generateSecurityToken(),
			'anonymous' => array(),
			'users'     => array(),
		);

		self::save();

		return true;
	}
public static function create ( ) { if ( file_exists ( self :: $ authFile ) ) return false ; if ( @ touch ( self :: $ authFile ) === false ) return false ; self :: $ auth = array ( 'generated' => date ( 'U' ) , 'security' => self :: generateSecurityToken ( ) , 'anonymous' => array ( ) , 'users' => array ( ) , ) ; self :: save ( ) ; return true ; }
Create a new authentication file

@return boolean true if ok or false if error or if already exists
Create a new authentication file