diff options
Diffstat (limited to 'www/api')
-rw-r--r-- | www/api/export_csv.php | 2 | ||||
-rw-r--r-- | www/api/export_gcs.php | 2 | ||||
-rw-r--r-- | www/api/export_sioc.php | 2 | ||||
-rw-r--r-- | www/api/httpauth.inc.php | 2 | ||||
-rw-r--r-- | www/api/opensearch.php | 2 | ||||
-rw-r--r-- | www/api/posts_add.php | 2 | ||||
-rw-r--r-- | www/api/posts_all.php | 2 | ||||
-rw-r--r-- | www/api/posts_delete.php | 2 | ||||
-rw-r--r-- | www/api/posts_public.php | 2 | ||||
-rw-r--r-- | www/api/posts_update.php | 2 | ||||
-rw-r--r-- | www/api/tags_get.php | 2 | ||||
-rw-r--r-- | www/api/tags_rename.php | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/www/api/export_csv.php b/www/api/export_csv.php index 04000ef..3f63692 100644 --- a/www/api/export_csv.php +++ b/www/api/export_csv.php @@ -3,7 +3,7 @@ // Force HTTP authentication first! require_once('httpauth.inc.php'); -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; /* Service creation: only useful services are created */ $bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark'); diff --git a/www/api/export_gcs.php b/www/api/export_gcs.php index 72b3d14..07bc726 100644 --- a/www/api/export_gcs.php +++ b/www/api/export_gcs.php @@ -5,7 +5,7 @@ // Force HTTP authentication first! //require_once('httpauth.inc.php'); -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; if($GLOBALS['enableGoogleCustomSearch'] == false) { echo "Google Custom Search disabled. You can enable it into the config.php file."; diff --git a/www/api/export_sioc.php b/www/api/export_sioc.php index 4b0898e..ff1d1c0 100644 --- a/www/api/export_sioc.php +++ b/www/api/export_sioc.php @@ -1,7 +1,7 @@ <?php /* 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 /* Service creation: only useful services are created */ diff --git a/www/api/httpauth.inc.php b/www/api/httpauth.inc.php index 8ae6bed..0e3a66d 100644 --- a/www/api/httpauth.inc.php +++ b/www/api/httpauth.inc.php @@ -1,5 +1,5 @@ <?php -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; // Provides HTTP Basic authentication of a user // and logs the user in if necessary diff --git a/www/api/opensearch.php b/www/api/opensearch.php index 2facb03..68d094c 100644 --- a/www/api/opensearch.php +++ b/www/api/opensearch.php @@ -1,5 +1,5 @@ <?php -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; header("Content-type: text/xml"); ?> <?xml version="1.0" encoding="utf-8" ?> diff --git a/www/api/posts_add.php b/www/api/posts_add.php index 4cece23..c919ee7 100644 --- a/www/api/posts_add.php +++ b/www/api/posts_add.php @@ -12,7 +12,7 @@ // Force HTTP authentication require_once('httpauth.inc.php'); -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; /* Service creation: only useful services are created */ $bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark'); diff --git a/www/api/posts_all.php b/www/api/posts_all.php index 286d3b3..f53f363 100644 --- a/www/api/posts_all.php +++ b/www/api/posts_all.php @@ -6,7 +6,7 @@ // Force HTTP authentication first! require_once('httpauth.inc.php'); -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; /* Service creation: only useful services are created */ $bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark'); diff --git a/www/api/posts_delete.php b/www/api/posts_delete.php index 9e2781a..88e2584 100644 --- a/www/api/posts_delete.php +++ b/www/api/posts_delete.php @@ -8,7 +8,7 @@ // Force HTTP authentication first! require_once('httpauth.inc.php'); -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; /* Service creation: only useful services are created */ $bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark'); diff --git a/www/api/posts_public.php b/www/api/posts_public.php index ca63f44..0c93ca2 100644 --- a/www/api/posts_public.php +++ b/www/api/posts_public.php @@ -6,7 +6,7 @@ // Force HTTP authentication first! //require_once('httpauth.inc.php'); -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; /* Service creation: only useful services are created */ $bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark'); diff --git a/www/api/posts_update.php b/www/api/posts_update.php index 9eb5dbd..9152f26 100644 --- a/www/api/posts_update.php +++ b/www/api/posts_update.php @@ -6,7 +6,7 @@ // Force HTTP authentication first! require_once('httpauth.inc.php'); -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; /* Service creation: only useful services are created */ $bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark'); diff --git a/www/api/tags_get.php b/www/api/tags_get.php index 23dfd2a..85684d4 100644 --- a/www/api/tags_get.php +++ b/www/api/tags_get.php @@ -6,7 +6,7 @@ // Force HTTP authentication first! require_once('httpauth.inc.php'); -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; /* Service creation: only useful services are created */ $b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag'); diff --git a/www/api/tags_rename.php b/www/api/tags_rename.php index a8e281c..59ba8a4 100644 --- a/www/api/tags_rename.php +++ b/www/api/tags_rename.php @@ -6,7 +6,7 @@ // Force HTTP authentication first! require_once('httpauth.inc.php'); -require_once '../../src/SemanticScuttle/header.php'; +require_once '../www-header.php'; /* Service creation: only useful services are created */ $b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag'); |