Skip to content

Instantly share code, notes, and snippets.

@nojimage
Created June 12, 2014 06:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nojimage/4e9f04c2a261826c5223 to your computer and use it in GitHub Desktop.
Save nojimage/4e9f04c2a261826c5223 to your computer and use it in GitHub Desktop.
diff --git a/app/Tygh/Bootstrap.php b/app/Tygh/Bootstrap.php
index d25b071..87f007a 100644
--- a/app/Tygh/Bootstrap.php
+++ b/app/Tygh/Bootstrap.php
@@ -47,7 +47,7 @@ class Bootstrap
public static function setConfigOptions($dir_root)
{
ini_set('magic_quotes_sybase', 0);
- ini_set('include_path', $dir_root . '/app/lib/pear/' . ini_get('include_path'));
+ ini_set('include_path', $dir_root . '/app/lib/pear/' . PATH_SEPARATOR . ini_get('include_path'));
ini_set('pcre.backtrack_limit', '1000000'); // this value php versions < 5.3.7 10 times less, so set it as in newer versions.
ini_set('arg_separator.output', '&');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment