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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ before_install:
- sudo apt-get install build-essential libpcre3-dev php-pear php5-curl php5-imagick

before_script:
- pecl install oauth
- pear channel-discover pear.bovigo.org
- pear install bovigo/vfsStream-beta
- phpenv rehash
Expand Down
1 change: 0 additions & 1 deletion src/libraries/external/epi/EpiRoute.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ public function load($file)
if(!file_exists($file))
{
EpiException::raise(new EpiException("Config file ({$file}) does not exist"));
break; // need to simulate same behavior if exceptions are turned off
}

$parsed_array = parse_ini_file($file, true);
Expand Down
3 changes: 2 additions & 1 deletion src/libraries/initialize.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
require "{$basePath}/libraries/compatability.php";
require "{$basePath}/libraries/models/UserConfig.php";

Epi::setSetting('exceptions', true);
Epi::setSetting('exceptions', true);//let it to true for an install with PHP7 cf: Deleted break on line 90 to make it work with php7 in EpiRoute.php

Epi::setPath('base', $epiPath);
Epi::setPath('config', "{$basePath}/configs");
Epi::setPath('view', '');
Expand Down