Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

fixed issue#598 #599

Merged
merged 1 commit into from Aug 6, 2016
Merged

fixed issue#598 #599

merged 1 commit into from Aug 6, 2016

Conversation

voku
Copy link
Contributor

@voku voku commented May 29, 2016

Fixes #598
-> if composer isn't used, we need to include the polyfills manually

-> if composer isn't used, we need to include the polyfills manually
@ghost ghost added the CLA Signed label May 29, 2016
@@ -32,6 +32,10 @@
throw new Exception('The Facebook SDK requires PHP version 5.4 or higher.');
}

if (defined('FACEBOOK_SDK_POLYFILLS_LOADED') === false) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think the constant use useful, you can just require once the polyfills file :)

@jrgonzalezrios
Copy link

jrgonzalezrios commented Jun 17, 2016

What if you require polyfills.php in SignedRequest.php? this worked for me

@SammyK
Copy link
Contributor

SammyK commented Jun 17, 2016

@jrgonzalezrios The polyfills script is needed in other files as well so it needs to be loaded with the autoloader. :)

@ghost ghost added the CLA Signed label Jul 12, 2016
@SammyK
Copy link
Contributor

SammyK commented Jul 13, 2016

@voku Any way you can make the changes mentioned above so we can wrap this one up? :)

@SammyK
Copy link
Contributor

SammyK commented Aug 6, 2016

I'm going to go ahead and merge this one in and finish it off based on the feedback. Thanks @voku! :)

@SammyK SammyK merged commit 59750b8 into facebookarchive:master Aug 6, 2016
SammyK added a commit to SammyK/php-graph-sdk that referenced this pull request Aug 6, 2016
@SammyK SammyK mentioned this pull request Aug 6, 2016
SammyK added a commit that referenced this pull request Aug 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants