Skip to content

Commit

Permalink
Add full include paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jabbors committed Oct 24, 2016
1 parent 035c236 commit bc296c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/service.php
Expand Up @@ -19,13 +19,13 @@
*/

// set include paths
set_include_path(get_include_path() . PATH_SEPARATOR . '..');
set_include_path(get_include_path() . PATH_SEPARATOR . '../include');
set_include_path(get_include_path() . PATH_SEPARATOR . '../include/types');
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/..');
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../include');
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../include/types');

// Setup logging
require_once('vendor/autoload.php');
Logger::configure('../log4php.xml');
Logger::configure(dirname(__FILE__) . '/../log4php.xml');
$serviceLogger = Logger::getLogger('kolibre.daisyonline.service');

// Include DaisyOnlineService class
Expand Down

0 comments on commit bc296c4

Please sign in to comment.