Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EpiRoute.php #1591

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Update EpiRoute.php #1591

wants to merge 7 commits into from

Conversation

EMarcais
Copy link

Deleted break on line 90 to make it work with php7
break; // need to simulate same behavior if exceptions are turned off

EMarcais and others added 3 commits May 26, 2016 13:19
To use openphoto with PHP7, removed break in line 90 :

break; // need to simulate same behavior if exceptions are turned off
Deleted break on line 90 to make it work with php7 
break; // need to simulate same behavior if exceptions are turned off
@jmathai
Copy link
Member

jmathai commented May 26, 2016

Thanks @EMarcais.

The build failure should be fixed if you rebase from master.

Can you also add a comment to this line so someone doesn't turn exceptions off?
https://github.com/photo/frontend/blob/master/src/libraries/initialize.php#L14

Add comment in line 14 :
//let it to true for an install with PHP7 cf: Deleted break on line 90 to make it work with php7 in EpiRoute.php
@EMarcais
Copy link
Author

My pleasure, I like what I see from openphoto/trovebox even !

Normally I added the comment correctly in initialize

@EMarcais EMarcais closed this May 27, 2016
@EMarcais EMarcais reopened this May 27, 2016
EMarcais and others added 3 commits May 27, 2016 10:50
	modifié :         src/libraries/external/epi/EpiRoute.php
Conflicts:
	src/libraries/external/epi/EpiRoute.php

	modifié :         src/libraries/initialize.php pour coller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants