Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
This should fix any project root path conflicts when using Zepto as i…
Browse files Browse the repository at this point in the history
…nstalled from Composer
  • Loading branch information
hassankhan committed Jan 27, 2014
1 parent 6a6ec97 commit 5e172b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zepto/Zepto.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

// Define constant for root directory
defined('ROOT_DIR')
|| define('ROOT_DIR', str_replace('library/Zepto', '', realpath(dirname(__FILE__))));
|| define('ROOT_DIR', realpath(getcwd()) . '/');

use Pimple;
use Whoops;
Expand Down

0 comments on commit 5e172b0

Please sign in to comment.