From 6ce057f5162e18cd5190717145a13e7c29fe9da7 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 21 Jun 2009 22:42:39 +0000 Subject: added in skeleton for image and album classes --- start.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'start.php') diff --git a/start.php b/start.php index 24423dafd..e2a87a8e8 100644 --- a/start.php +++ b/start.php @@ -10,7 +10,8 @@ // include core libraries include dirname(__FILE__) . "/lib/tidypics.php"; - + include dirname(__FILE__) . "/lib/image.php"; + include dirname(__FILE__) . "/lib/album.php"; /** * tidypics plugin initialisation functions. @@ -44,6 +45,10 @@ register_entity_url_handler('tidypics_image_url', 'object', 'image'); register_entity_url_handler('tidypics_album_url', 'object', 'album'); + // add the class files for image and album + add_subtype("object", "image", "TidypicsImage"); + add_subtype("object", "album", "TidypicsAlbum"); + // Register entity type register_entity_type('object','image'); register_entity_type('object','album'); -- cgit v1.2.3