diff options
author | Maurice Svay <maurice@svay.com> | 2011-07-10 14:21:56 +0200 |
---|---|---|
committer | Maurice Svay <maurice@svay.com> | 2011-07-10 14:21:56 +0200 |
commit | 836e30ccd9b3408cdc12a79191ae3df311d56040 (patch) | |
tree | d96e523f8dde41fb1268297ae03527ffa7789932 /postload.php | |
parent | c1b569d50fc2825cc42fc276bf26133b42a358ec (diff) | |
download | planet-836e30ccd9b3408cdc12a79191ae3df311d56040.tar planet-836e30ccd9b3408cdc12a79191ae3df311d56040.tar.gz planet-836e30ccd9b3408cdc12a79191ae3df311d56040.tar.bz2 planet-836e30ccd9b3408cdc12a79191ae3df311d56040.tar.xz planet-836e30ccd9b3408cdc12a79191ae3df311d56040.zip |
Refactor app instantiation
Diffstat (limited to 'postload.php')
-rw-r--r-- | postload.php | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/postload.php b/postload.php index de23799..281c4f7 100644 --- a/postload.php +++ b/postload.php @@ -1,9 +1,5 @@ <?php
-/**
- * Load one particular feed
- */
-error_reporting(0);
-include_once(dirname(__FILE__).'/app/classes/Planet.class.php');
+include_once(dirname(__FILE__).'/app/app.php'); function unhtmlspecialchars( $string ) { $string = str_replace ( '&', '&', $string ); @@ -15,13 +11,6 @@ function unhtmlspecialchars( $string ) { return $string; } -//Build config object
-//Use OPML title if no title defined in the config file
-$PlanetConfig = new PlanetConfig(array());
-
-//Instantiate app
-$Planet = new Planet($PlanetConfig);
-
$Planet->addPerson(
new PlanetPerson(
'',
|