Definition (local ring of projective variety)
Let $X$ be an irreducible projective variety, and let $P\in X$.
The local ring of $X$ at $P$ is the subring of the function field $$ \begin{align*} O_{X,P} := \sb{f/g\in k(X)}{g\not\in \mathfrak{m}_P} = \sb{f/g\in k(X)}{g(P) \neq 0}. \end{align*} $$ If $ϕ\in k(X)$ is in $O_{X,x}$, we say $ϕ$ is regular at $x$.