Skip to content

Commit

Permalink
Move class files into library/
Browse files Browse the repository at this point in the history
All SimplePie classes now live in library/ except for the autoloader,
which is now in autoloader.php

Apologies if any of your scripts break because of this, however it
brings a much nicer separation and cleans up the root directory
somewhat.
  • Loading branch information
rmccue committed Jul 5, 2012
1 parent ce9ac85 commit 26d3597
Show file tree
Hide file tree
Showing 38 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SimplePieAutoloader.php → autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class SimplePie_Autoloader
*/
public function __construct()
{
$this->path = dirname(__FILE__);
$this->path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'library';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion build/charset.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once '../SimplePieAutoloader.php';
require_once '../autoloader.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('../SimplePieAutoloader.php');
include_once('../autoloader.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('../SimplePieAutoloader.php');
include_once('../autoloader.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('../SimplePieAutoloader.php');
include_once('../autoloader.php');
include_once('../idn/idna_convert.class.php');

// Parse it
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

require_once dirname(dirname(__FILE__)) . '/SimplePieAutoloader.php';
require_once dirname(dirname(__FILE__)) . '/autoloader.php';

0 comments on commit 26d3597

Please sign in to comment.