Skip to content

Instantly share code, notes, and snippets.

@lplume
Created June 2, 2014 02:05
Show Gist options
  • Save lplume/731b910f82902e9eda47 to your computer and use it in GitHub Desktop.
Save lplume/731b910f82902e9eda47 to your computer and use it in GitHub Desktop.
/dir
- test.php
/lib
- fontparse.php
/ Font Parses
#test.php
<?php
require 'fontparse.php';
## getcwd
# script location: /dir/
# require_once /dir/Font Parser/loader.php KO
## dirname(__FILE__)
# script location: /dir/lib
# require_once /dir/lib/Font Parser/loader.php OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment