Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

Update EpiRoute.php#1591

Open
EMarcais wants to merge 7 commits intophoto:masterfrom
EMarcais:master
Open

Update EpiRoute.php#1591
EMarcais wants to merge 7 commits intophoto:masterfrom
EMarcais:master

Conversation

@EMarcais
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants