Permalink
Browse files

absolute path require_once

  • Loading branch information...
1 parent 17eb9c6 commit f8220bfaaf820f53d99e3c97b97b4a5ee2a0adfe @koenpunt koenpunt committed Apr 15, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 test/ExpressionsTest.php
  2. +1 −1 test/SerializationTest.php
  3. +1 −1 test/helpers/DatabaseTest.php
@@ -1,6 +1,6 @@
<?php
include 'helpers/config.php';
-require '../lib/Expressions.php';
+require_once __DIR__ . '/../lib/Expressions.php';
use ActiveRecord\Expressions;
use ActiveRecord\ConnectionManager;
@@ -1,6 +1,6 @@
<?php
include 'helpers/config.php';
-require '../lib/Serialization.php';
+require_once __DIR__ . '/../lib/Serialization.php';
use ActiveRecord\DateTime;
@@ -1,5 +1,5 @@
<?php
-require_once 'DatabaseLoader.php';
+require_once __DIR__ . '/DatabaseLoader.php';
class DatabaseTest extends SnakeCase_PHPUnit_Framework_TestCase
{

0 comments on commit f8220bf

Please sign in to comment.