|
12345678910111213141516171819 |
- <?php
- /**
- * @author La clic ! <contact@laclic.fr>
- */
-
-
- namespace Lc\SovBundle\Resolver;
-
-
- class UrlResolver
- {
-
- public function isServerLocalhost()
- {
- return in_array($_SERVER['REMOTE_ADDR'], ['127.0.0.1', '::1']);
- }
-
-
- }
|