Skip to content

Commit

Permalink
Change paths to the SimplePie class
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccue committed Oct 17, 2010
1 parent 27c8c4d commit 51c0792
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion create.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once 'simplepie.class.php';
require_once 'SimplePieAutoloader.php';

function normalize_character_set($charset)
{
Expand Down
2 changes: 1 addition & 1 deletion demo/cli_test.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/php
<?php
include_once('../simplepie.class.php');
include_once('../SimplePieAutoloader.php');

// Parse it
$feed = new SimplePie();
Expand Down
2 changes: 1 addition & 1 deletion demo/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// Include SimplePie
// Located in the parent directory
include_once('../simplepie.class.php');
include_once('../SimplePieAutoloader.php');
include_once('../idn/idna_convert.class.php');

// Create a new instance of the SimplePie object
Expand Down
2 changes: 1 addition & 1 deletion demo/test.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
include_once('../simplepie.class.php');
include_once('../SimplePieAutoloader.php');
include_once('../idn/idna_convert.class.php');

// Parse it
Expand Down
4 changes: 3 additions & 1 deletion tests/oldtests.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
error_reporting(E_ALL | E_STRICT);

require_once 'PHPUnit/Framework.php';
require_once '../simplepie.class.php';
require_once '../SimplePieAutoloader.php';
// Ensure SimplePie is loaded
class_exists('SimplePie') or die("Couldn't load SimplePie");
require_once 'oldtests/compat_test_harness.php';
require_once 'oldtests/functions.php';

Expand Down

0 comments on commit 51c0792

Please sign in to comment.