Skip to content

Instantly share code, notes, and snippets.

@sutter
Created January 22, 2015 13:41
Show Gist options
  • Save sutter/b800cd04c730a5080b9b to your computer and use it in GitHub Desktop.
Save sutter/b800cd04c730a5080b9b to your computer and use it in GitHub Desktop.
WEBROOT
<?php
define('WEBROOT', dirname($_SERVER['SCRIPT_NAME']) . '/');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment