allow people to move www/ folder where they want it, now one just has to change www/www-header.php
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@643 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
99160a8850
commit
6c2fa2f020
@ -28,6 +28,7 @@ ChangeLog for SemantiScuttle
|
|||||||
services via PEAR's Auth package
|
services via PEAR's Auth package
|
||||||
- Add special header file for shell scripts (header-standalone.php)
|
- Add special header file for shell scripts (header-standalone.php)
|
||||||
- Fix some problems when using mysqli database driver.
|
- Fix some problems when using mysqli database driver.
|
||||||
|
- Make it easy to have www/ in any location one wants it to have
|
||||||
|
|
||||||
|
|
||||||
0.95.2 - 2010-01-16
|
0.95.2 - 2010-01-16
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Base file that every other file in www/ should include.
|
* Base file that is used by shell scripts and www/www-header.php.
|
||||||
*
|
*
|
||||||
* SemanticScuttle - your social bookmark manager.
|
* SemanticScuttle - your social bookmark manager.
|
||||||
*
|
*
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
$tplVars['pagetitle'] = T_('About');
|
$tplVars['pagetitle'] = T_('About');
|
||||||
$tplVars['subtitle'] = T_('About');
|
$tplVars['subtitle'] = T_('About');
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmark2tagservice = SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$bookmark2tagservice = SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
/* Return a json file with list of linked tags */
|
/* Return a json file with list of linked tags */
|
||||||
|
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
|
|
||||||
/* Return a json file with list of tags according to current user and sort by popularity*/
|
/* Return a json file with list of tags according to current user and sort by popularity*/
|
||||||
|
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
|
|
||||||
/* Return a json file with list of tags according to current user and sort by popularity*/
|
/* Return a json file with list of tags according to current user and sort by popularity*/
|
||||||
|
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
/* Return a json file with list of linked tags */
|
/* Return a json file with list of linked tags */
|
||||||
|
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
|
|
||||||
/* Return a json file with list of tags according to current user and sort by popularity*/
|
/* Return a json file with list of tags according to current user and sort by popularity*/
|
||||||
|
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
header('Content-Type: text/xml; charset=UTF-8');
|
header('Content-Type: text/xml; charset=UTF-8');
|
||||||
header('Last-Modified: '. gmdate("D, d M Y H:i:s") .' GMT');
|
header('Last-Modified: '. gmdate("D, d M Y H:i:s") .' GMT');
|
||||||
header('Cache-Control: no-cache, must-revalidate');
|
header('Cache-Control: no-cache, must-revalidate');
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice = SemanticScuttle_Service_Factory :: get('Bookmark');
|
$bookmarkservice = SemanticScuttle_Service_Factory :: get('Bookmark');
|
||||||
|
@ -23,7 +23,7 @@ header('Content-Type: text/xml; charset=UTF-8');
|
|||||||
header("Last-Modified: ". gmdate("D, d M Y H:i:s") ." GMT");
|
header("Last-Modified: ". gmdate("D, d M Y H:i:s") ." GMT");
|
||||||
header("Cache-Control: no-cache, must-revalidate");
|
header("Cache-Control: no-cache, must-revalidate");
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Managing all possible inputs */
|
/* Managing all possible inputs */
|
||||||
isset($_GET['url']) ? define('GET_URL', $_GET['url']): define('GET_URL', '');
|
isset($_GET['url']) ? define('GET_URL', $_GET['url']): define('GET_URL', '');
|
||||||
|
@ -23,7 +23,7 @@ header('Content-Type: text/xml; charset=UTF-8');
|
|||||||
header("Last-Modified: ". gmdate("D, d M Y H:i:s") ." GMT");
|
header("Last-Modified: ". gmdate("D, d M Y H:i:s") ." GMT");
|
||||||
header("Cache-Control: no-cache, must-revalidate");
|
header("Cache-Control: no-cache, must-revalidate");
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
//No specific services
|
//No specific services
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice = SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$b2tservice = SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Force HTTP authentication first!
|
// Force HTTP authentication first!
|
||||||
require_once('httpauth.inc.php');
|
require_once('httpauth.inc.php');
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// Force HTTP authentication first!
|
// Force HTTP authentication first!
|
||||||
//require_once('httpauth.inc.php');
|
//require_once('httpauth.inc.php');
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
if($GLOBALS['enableGoogleCustomSearch'] == false) {
|
if($GLOBALS['enableGoogleCustomSearch'] == false) {
|
||||||
echo "Google Custom Search disabled. You can enable it into the config.php file.";
|
echo "Google Custom Search disabled. You can enable it into the config.php file.";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Export data with semantic format (SIOC: http://sioc-project.org/, FOAF, SKOS, Annotea Ontology) */
|
/* Export data with semantic format (SIOC: http://sioc-project.org/, FOAF, SKOS, Annotea Ontology) */
|
||||||
|
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
header('Content-Type: text/xml; charset=utf-8'); //we change headers html defined in headers.inc.php
|
header('Content-Type: text/xml; charset=utf-8'); //we change headers html defined in headers.inc.php
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
// Provides HTTP Basic authentication of a user
|
// Provides HTTP Basic authentication of a user
|
||||||
// and logs the user in if necessary
|
// and logs the user in if necessary
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
header("Content-type: text/xml");
|
header("Content-type: text/xml");
|
||||||
?>
|
?>
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
// Force HTTP authentication
|
// Force HTTP authentication
|
||||||
require_once('httpauth.inc.php');
|
require_once('httpauth.inc.php');
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
// Force HTTP authentication first!
|
// Force HTTP authentication first!
|
||||||
require_once('httpauth.inc.php');
|
require_once('httpauth.inc.php');
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
// Force HTTP authentication first!
|
// Force HTTP authentication first!
|
||||||
require_once('httpauth.inc.php');
|
require_once('httpauth.inc.php');
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
// Force HTTP authentication first!
|
// Force HTTP authentication first!
|
||||||
//require_once('httpauth.inc.php');
|
//require_once('httpauth.inc.php');
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
// Force HTTP authentication first!
|
// Force HTTP authentication first!
|
||||||
require_once('httpauth.inc.php');
|
require_once('httpauth.inc.php');
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
// Force HTTP authentication first!
|
// Force HTTP authentication first!
|
||||||
require_once('httpauth.inc.php');
|
require_once('httpauth.inc.php');
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
// Force HTTP authentication first!
|
// Force HTTP authentication first!
|
||||||
require_once('httpauth.inc.php');
|
require_once('httpauth.inc.php');
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice = SemanticScuttle_Service_Factory :: get('Bookmark');
|
$bookmarkservice = SemanticScuttle_Service_Factory :: get('Bookmark');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -20,7 +20,7 @@ along with this program; if not, write to the Free Software
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice = SemanticScuttle_Service_Factory :: get('Bookmark');
|
$bookmarkservice = SemanticScuttle_Service_Factory :: get('Bookmark');
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* @license GPL http://www.gnu.org/licenses/gpl.html
|
* @license GPL http://www.gnu.org/licenses/gpl.html
|
||||||
* @link http://sourceforge.net/projects/semanticscuttle
|
* @link http://sourceforge.net/projects/semanticscuttle
|
||||||
*/
|
*/
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
if (!$GLOBALS['shorturl']) {
|
if (!$GLOBALS['shorturl']) {
|
||||||
header('HTTP/1.0 500 Internal Server Error');
|
header('HTTP/1.0 500 Internal Server Error');
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../www-header.php';
|
||||||
|
|
||||||
if($GLOBALS['enableGoogleCustomSearch'] == false) {
|
if($GLOBALS['enableGoogleCustomSearch'] == false) {
|
||||||
echo "Google Custom Search disabled. You can enable it into the config.php file.";
|
echo "Google Custom Search disabled. You can enable it into the config.php file.";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?php require_once '../../src/SemanticScuttle/header.php';
|
<?php require_once '../www-header.php';
|
||||||
|
|
||||||
if($GLOBALS['enableGoogleCustomSearch']==false) {
|
if($GLOBALS['enableGoogleCustomSearch']==false) {
|
||||||
echo "Google Custom Search disabled. You can enable it into the config.php file.";
|
echo "Google Custom Search disabled. You can enable it into the config.php file.";
|
||||||
|
@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
// No specific services
|
// No specific services
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$tag2tagservice =SemanticScuttle_Service_Factory::get('Tag2Tag');
|
$tag2tagservice =SemanticScuttle_Service_Factory::get('Tag2Tag');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
header('Content-Type: text/javascript');
|
header('Content-Type: text/javascript');
|
||||||
$GLOBALS['saveInLastUrl'] = false;
|
$GLOBALS['saveInLastUrl'] = false;
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
require_once 'SemanticScuttle/functions.php';
|
require_once 'SemanticScuttle/functions.php';
|
||||||
$player_root = ROOT .'includes/player/';
|
$player_root = ROOT .'includes/player/';
|
||||||
?>
|
?>
|
||||||
|
@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
// No specific services
|
// No specific services
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
// No specific services
|
// No specific services
|
||||||
|
@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
if (!$GLOBALS['enableRegistration']) {
|
if (!$GLOBALS['enableRegistration']) {
|
||||||
header('HTTP/1.0 501 Not implemented');
|
header('HTTP/1.0 501 Not implemented');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
* @link http://sourceforge.net/projects/semanticscuttle
|
* @link http://sourceforge.net/projects/semanticscuttle
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice = SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice = SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Managing all possible inputs */
|
/* Managing all possible inputs */
|
||||||
isset($_POST['terms']) ? define('POST_TERMS', $_POST['terms']): define('POST_TERMS', '');
|
isset($_POST['terms']) ? define('POST_TERMS', $_POST['terms']): define('POST_TERMS', '');
|
||||||
|
@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$tag2tagservice = SemanticScuttle_Service_Factory :: get('Tag2Tag');
|
$tag2tagservice = SemanticScuttle_Service_Factory :: get('Tag2Tag');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$tag2tagservice = SemanticScuttle_Service_Factory :: get('Tag2Tag');
|
$tag2tagservice = SemanticScuttle_Service_Factory :: get('Tag2Tag');
|
||||||
|
@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$tag2tagservice = SemanticScuttle_Service_Factory :: get('Tag2Tag');
|
$tag2tagservice = SemanticScuttle_Service_Factory :: get('Tag2Tag');
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* @link http://sourceforge.net/projects/semanticscuttle
|
* @link http://sourceforge.net/projects/semanticscuttle
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice = SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
$b2tservice = SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||||
|
@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice = SemanticScuttle_Service_Factory :: get('Bookmark2Tag');
|
$b2tservice = SemanticScuttle_Service_Factory :: get('Bookmark2Tag');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$tagservice = SemanticScuttle_Service_Factory :: get('Tag');
|
$tagservice = SemanticScuttle_Service_Factory :: get('Tag');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$b2tservice = SemanticScuttle_Service_Factory :: get('Bookmark2Tag');
|
$b2tservice = SemanticScuttle_Service_Factory :: get('Bookmark2Tag');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -34,7 +34,7 @@ exit();
|
|||||||
/////////////////
|
/////////////////
|
||||||
// This part below will be executed once you comment the two lines above
|
// This part below will be executed once you comment the two lines above
|
||||||
/////////////////
|
/////////////////
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
$tagstatservice = SemanticScuttle_Service_Factory :: get('TagStat');
|
$tagstatservice = SemanticScuttle_Service_Factory :: get('TagStat');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
* vote/for/123
|
* vote/for/123
|
||||||
*/
|
*/
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
if (!$GLOBALS['enableVoting']) {
|
if (!$GLOBALS['enableVoting']) {
|
||||||
header('HTTP/1.0 501 Not implemented');
|
header('HTTP/1.0 501 Not implemented');
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
//No specific services
|
//No specific services
|
||||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License
|
|||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
require_once '../src/SemanticScuttle/header.php';
|
require_once 'www-header.php';
|
||||||
|
|
||||||
/* Service creation: only useful services are created */
|
/* Service creation: only useful services are created */
|
||||||
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
|
19
www/www-header.php
Normal file
19
www/www-header.php
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Base file that every file in www/ should include.
|
||||||
|
* Loads all other SemanticScuttle files.
|
||||||
|
*
|
||||||
|
* SemanticScuttle - your social bookmark manager.
|
||||||
|
*
|
||||||
|
* PHP version 5.
|
||||||
|
*
|
||||||
|
* @category Bookmarking
|
||||||
|
* @package SemanticScuttle
|
||||||
|
* @author Benjamin Huynh-Kim-Bang <mensonge@users.sourceforge.net>
|
||||||
|
* @author Christian Weiske <cweiske@cweiske.de>
|
||||||
|
* @author Eric Dane <ericdane@users.sourceforge.net>
|
||||||
|
* @license GPL http://www.gnu.org/licenses/gpl.html
|
||||||
|
* @link http://sourceforge.net/projects/semanticscuttle
|
||||||
|
*/
|
||||||
|
require_once '../src/SemanticScuttle/header.php';
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user