forked from packetcode/Feedstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
36 lines (33 loc) · 1.09 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/* PATHANG - A SLEAK PHP MVC FRAMEWORK
* package - root
* file - index.php
* Developer - Krishna Teja G S
* Website - http://www.pathang.net
* license - GNU General Public License version 2 or later
*/
//*********************************************
//
// Hacked Pathang Framework for Feedstack app
//
//*********************************************
/*
Feedstack - A Social Networking Script
----------------------------------------
Users can post text,photo,video or link feeds.
Users can Follow/Unfollow others.
Users can like comment or view the feed of the following users.
Admin can add/delete/block the users.
Admin can view the feed/user statistics.
Admin can alter the configuration.
-----------------------------------------
*/
//defining a global constant to block direct access to files
define('_PATHANG',true);
// directory separator
define('DS',DIRECTORY_SEPARATOR);
//load the error class and pathang class
require_once "lib".DS."error.php";
require_once "lib".DS."pathang.php";
//creating the instance of kite object
$pathang = pathang::getInstance('pathang')->main();