1

Topic: Joomla anyone?

well look at this mess...its called yjspace and it's so bland and boring really

<?php
/**
* @version $Id: admin.myjspace.php $
* @package myjspace
* @copyright (C) 2007 D'Abronzo Vincenzo
* @license GNU / GPL
* @author D'Abronzo Vincenzo
* MyJSpace is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

// Get the task
$taskname = $task;

// Get object database
$db =& JFactory::getDBO();

// Get root direcotry
$rootdir = JPATH_SITE;

// Get admin index name
$adminindex = "index.php";

// Show component
define( '_MJSEXEC', 1 );
define( 'DS', DIRECTORY_SEPARATOR );
define( 'MYJROOTDIR', $rootdir );

require_once( dirname(__FILE__).DS.'myjspace.admin.class.php' );
$mjsadmin = new MJS_Admin();
$mjsadmin->setTask( $taskname );
$mjsadmin->setDatabase( $db );
$mjsadmin->setRootDir( $rootdir );
$mjsadmin->setAdminIndex( $adminindex );
$mjsadmin->doTask();

i wish i could think of more to do with it but there it sits...garbage