Kecik/Route.php
public function isPut() {
		if ( isset( $_SERVER['REQUEST_METHOD'] ) ) {

			if ( $_SERVER['REQUEST_METHOD'] == 'PUT' || ( isset( $_POST['_METHOD'] ) && $_POST['_METHOD'] == 'PUT' ) ) {
				parse_str( file_get_contents( "php://input" ), $vars );

				if ( isset( $vars['_METHOD'] ) ) {
					unset( $vars['_METHOD'] );
				}

				$GLOBALS['_PUT'] = $_PUT = $vars;

				return TRUE;
			} else {
				return FALSE;
			}

		} else {
			return FALSE;
		}


	}
public function isPut() {
		if ( isset( $_SERVER['REQUEST_METHOD'] ) ) {

			if ( $_SERVER['REQUEST_METHOD'] == 'PUT' || ( isset( $_POST['_METHOD'] ) && $_POST['_METHOD'] == 'PUT' ) ) {
				parse_str( file_get_contents( "php://input" ), $vars );

				if ( isset( $vars['_METHOD'] ) ) {
					unset( $vars['_METHOD'] );
				}

				$GLOBALS['_PUT'] = $_PUT = $vars;

				return TRUE;
			} else {
				return FALSE;
			}

		} else {
			return FALSE;
		}


	}
public function isPut ( ) { if ( isset ( $ _SERVER [ 'REQUEST_METHOD' ] ) ) { if ( $ _SERVER [ 'REQUEST_METHOD' ] == 'PUT' || ( isset ( $ _POST [ '_METHOD' ] ) && $ _POST [ '_METHOD' ] == 'PUT' ) ) { parse_str ( file_get_contents ( "php://input" ) , $ vars ) ; if ( isset ( $ vars [ '_METHOD' ] ) ) { unset ( $ vars [ '_METHOD' ] ) ; } $ GLOBALS [ '_PUT' ] = $ _PUT = $ vars ; return TRUE ; } else { return FALSE ; } } else { return FALSE ; } }
Check request of Put method
@return bool
Check request of Put method