Kaynağa Gözat

Remove the old application manager that was view only.

Mark J Crane 5 yıl önce
ebeveyn
işleme
2d9d070c6b

+ 0 - 70
core/apps/app_config.php

@@ -1,70 +0,0 @@
-<?php
-
-	//application details
-		$apps[$x]['name'] = "App Manager";
-		$apps[$x]['uuid'] = "d8704214-75a0-e52f-1336-f0780e29fef8";
-		$apps[$x]['category'] = "";
-		$apps[$x]['subcategory'] = "";
-		$apps[$x]['version'] = "1.0";
-		$apps[$x]['license'] = "Mozilla Public License 1.1";
-		$apps[$x]['url'] = "http://www.fusionpbx.com";
-		$apps[$x]['description']['en-us'] = "Manage Applications";
-		$apps[$x]['description']['en-gb'] = "Manage Applications";
-		$apps[$x]['description']['ar-eg'] = "";
-		$apps[$x]['description']['de-at'] = "Applikationen Verwalten";
-		$apps[$x]['description']['de-ch'] = "";
-		$apps[$x]['description']['de-de'] = "Applikationen Verwalten";
-		$apps[$x]['description']['es-cl'] = "";
-		$apps[$x]['description']['es-mx'] = "";
-		$apps[$x]['description']['fr-ca'] = "";
-		$apps[$x]['description']['fr-fr'] = "";
-		$apps[$x]['description']['he-il'] = "";
-		$apps[$x]['description']['it-it'] = "";
-		$apps[$x]['description']['nl-nl'] = "";
-		$apps[$x]['description']['pl-pl'] = "";
-		$apps[$x]['description']['pt-br'] = "Gerenciador de Aplicações";
-		$apps[$x]['description']['pt-pt'] = "";
-		$apps[$x]['description']['ro-ro'] = "";
-		$apps[$x]['description']['ru-ru'] = "";
-		$apps[$x]['description']['sv-se'] = "";
-		$apps[$x]['description']['uk-ua'] = "";
-
-	//permission details
-		$y=0;
-		$apps[$x]['permissions'][$y]['name'] = "app_view";
-		$apps[$x]['permissions'][$y]['menu']['uuid'] = "ef00f229-7890-00c2-bf23-fed5b8fa9fe7";
-		$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
-		$y++;
-		$apps[$x]['permissions'][$y]['name'] = "app_add";
-		$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
-		$y++;
-		$apps[$x]['permissions'][$y]['name'] = "app_edit";
-		$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
-		$y++;
-		$apps[$x]['permissions'][$y]['name'] = "app_delete";
-		$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
-
-	//schema details
-		$y=0;
-		$apps[$x]['db'][$y]['table']['name'] = "v_apps";
-		$apps[$x]['db'][$y]['table']['parent'] = "";
-		$z=0;
-		$apps[$x]['db'][$y]['fields'][$z]['name'] = "app_uuid";
-		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
-		$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
-		$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
-		$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
-		$z++;
-		$apps[$x]['db'][$y]['fields'][$z]['name'] = "app_category";
-		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
-		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
-		$z++;
-		$apps[$x]['db'][$y]['fields'][$z]['name'] = "app_version";
-		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
-		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
-		$z++;
-		$apps[$x]['db'][$y]['fields'][$z]['name'] = "app_enabled";
-		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
-		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
-
-?>

+ 0 - 160
core/apps/app_languages.php

@@ -1,160 +0,0 @@
-<?php
-#This file was last reorganized on 19th of September 2017 08:54:24 AM UTC
-
-$text['title-apps']['en-us'] = "App Manager";
-$text['title-apps']['en-gb'] = "App Manager";
-$text['title-apps']['ar-eg'] = "";
-$text['title-apps']['de-at'] = "Applikation Verwaltung"; //copied from de-de
-$text['title-apps']['de-ch'] = "Applikation Verwaltung"; //copied from de-de
-$text['title-apps']['de-de'] = "Applikation Verwaltung";
-$text['title-apps']['es-cl'] = "Administrador de Aplicaciones";
-$text['title-apps']['es-mx'] = "Administrador de Aplicaciones"; //copied from es-cl
-$text['title-apps']['fr-ca'] = "Gestionnaire App"; //copied from fr-fr
-$text['title-apps']['fr-fr'] = "Gestionnaire App";
-$text['title-apps']['he-il'] = "";
-$text['title-apps']['it-it'] = "Gestore App";
-$text['title-apps']['nl-nl'] = "";
-$text['title-apps']['pl-pl'] = "Menedżer aplikacji";
-$text['title-apps']['pt-br'] = "Gerenciador de aplicações";
-$text['title-apps']['pt-pt'] = "Gestor de Aplicações";
-$text['title-apps']['ro-ro'] = "";
-$text['title-apps']['ru-ru'] = "Управление приложениями";
-$text['title-apps']['sv-se'] = "App Inställningar";
-$text['title-apps']['uk-ua'] = "Керування додатками";
-$text['title-apps']['tr-tr'] = "Uygulama Yöneticisi";
-
-
-$text['title-app-edit']['en-us'] = "App Edit";
-$text['title-app-edit']['en-gb'] = "App Edit";
-$text['title-app-edit']['ar-eg'] = "";
-$text['title-app-edit']['de-at'] = "Applikationen Editieren"; //copied from de-de
-$text['title-app-edit']['de-ch'] = "Applikationen Editieren"; //copied from de-de
-$text['title-app-edit']['de-de'] = "Applikationen Editieren";
-$text['title-app-edit']['es-cl'] = "Editar Aplicaciones";
-$text['title-app-edit']['es-mx'] = "Editar Aplicaciones"; //copied from es-cl
-$text['title-app-edit']['fr-ca'] = "Editer l'application"; //copied from fr-fr
-$text['title-app-edit']['fr-fr'] = "Editer l'application";
-$text['title-app-edit']['he-il'] = "";
-$text['title-app-edit']['it-it'] = "Modifica App";
-$text['title-app-edit']['nl-nl'] = "";
-$text['title-app-edit']['pl-pl'] = "Edytuj aplikację ";
-$text['title-app-edit']['pt-br'] = "Editar aplicação"; //copied from pt-pt
-$text['title-app-edit']['pt-pt'] = "Editar aplicação";
-$text['title-app-edit']['ro-ro'] = "";
-$text['title-app-edit']['ru-ru'] = "Изменеие приложения";
-$text['title-app-edit']['sv-se'] = "Ändra App";
-$text['title-app-edit']['uk-ua'] = "Редагувати додаток";
-$text['title-app-edit']['tr-tr'] = "Uygulama Düzenle";
-
-$text['label-version']['en-us'] = "Version";
-$text['label-version']['en-gb'] = "Version";
-$text['label-version']['ar-eg'] = "";
-$text['label-version']['de-at'] = "Version"; //copied from de-de
-$text['label-version']['de-ch'] = "Version"; //copied from de-de
-$text['label-version']['de-de'] = "Version";
-$text['label-version']['es-cl'] = "Versión";
-$text['label-version']['es-mx'] = "Versión"; //copied from es-cl
-$text['label-version']['fr-ca'] = "Version"; //copied from fr-fr
-$text['label-version']['fr-fr'] = "Version";
-$text['label-version']['he-il'] = "";
-$text['label-version']['it-it'] = "Versione";
-$text['label-version']['nl-nl'] = "";
-$text['label-version']['pl-pl'] = "Wersja";
-$text['label-version']['pt-br'] = "Versão"; //copied from pt-pt
-$text['label-version']['pt-pt'] = "Versão";
-$text['label-version']['ro-ro'] = "";
-$text['label-version']['ru-ru'] = "Версия";
-$text['label-version']['sv-se'] = "Version";
-$text['label-version']['uk-ua'] = "Версія";
-$text['label-version']['tr-tr'] = "Sürüm";
-
-$text['header-apps']['en-us'] = "App Manager";
-$text['header-apps']['en-gb'] = "App Manager";
-$text['header-apps']['ar-eg'] = "";
-$text['header-apps']['de-at'] = "Applikation verwalten"; //copied from de-de
-$text['header-apps']['de-ch'] = "Applikation verwalten"; //copied from de-de
-$text['header-apps']['de-de'] = "Applikation verwalten";
-$text['header-apps']['es-cl'] = "Administrador de Aplicaciones";
-$text['header-apps']['es-mx'] = "Administrador de Aplicaciones"; //copied from es-cl
-$text['header-apps']['fr-ca'] = "Gestionnaire App"; //copied from fr-fr
-$text['header-apps']['fr-fr'] = "Gestionnaire App";
-$text['header-apps']['he-il'] = "";
-$text['header-apps']['it-it'] = "Gestore App";
-$text['header-apps']['nl-nl'] = "";
-$text['header-apps']['pl-pl'] = "Menedżer aplikacji";
-$text['header-apps']['pt-br'] = "Gerenciador de aplicações";
-$text['header-apps']['pt-pt'] = "Gestor de Aplicações";
-$text['header-apps']['ro-ro'] = "";
-$text['header-apps']['ru-ru'] = "Управление приложениями";
-$text['header-apps']['sv-se'] = "App Inställningar";
-$text['header-apps']['uk-ua'] = "Керування додатками";
-$text['header-apps']['tr-tr'] = "Uygulama Yöneticisi";
-
-$text['header-app-edit']['en-us'] = "App Edit";
-$text['header-app-edit']['en-gb'] = "App Edit";
-$text['header-app-edit']['ar-eg'] = "";
-$text['header-app-edit']['de-at'] = "Applikation bearbeiten"; //copied from de-de
-$text['header-app-edit']['de-ch'] = "Applikation bearbeiten"; //copied from de-de
-$text['header-app-edit']['de-de'] = "Applikation bearbeiten";
-$text['header-app-edit']['es-cl'] = "Editar Aplicaciones";
-$text['header-app-edit']['es-mx'] = "Editar Aplicaciones"; //copied from es-cl
-$text['header-app-edit']['fr-ca'] = "Editer l'application"; //copied from fr-fr
-$text['header-app-edit']['fr-fr'] = "Editer l'application";
-$text['header-app-edit']['he-il'] = "";
-$text['header-app-edit']['it-it'] = "Modifica App";
-$text['header-app-edit']['nl-nl'] = "";
-$text['header-app-edit']['pl-pl'] = "Edytuj aplikację ";
-$text['header-app-edit']['pt-br'] = "Editar aplicação"; //copied from pt-pt
-$text['header-app-edit']['pt-pt'] = "Editar aplicação";
-$text['header-app-edit']['ro-ro'] = "";
-$text['header-app-edit']['ru-ru'] = "Изменеие приложения";
-$text['header-app-edit']['sv-se'] = "Ändra App";
-$text['header-app-edit']['uk-ua'] = "Редагувати додаток";
-$text['header-app-edit']['tr-tr'] = "Uygulama Düzenle";
-
-$text['description-apps']['en-us'] = "Manage the applications that are installed.";
-$text['description-apps']['en-gb'] = "Manage the applications that are installed.";
-$text['description-apps']['ar-eg'] = "";
-$text['description-apps']['de-at'] = "Installierte Applikationen verwalten"; //copied from de-de
-$text['description-apps']['de-ch'] = "Installierte Applikationen verwalten"; //copied from de-de
-$text['description-apps']['de-de'] = "Installierte Applikationen verwalten";
-$text['description-apps']['es-cl'] = "Administre las aplicaciones instaladas.";
-$text['description-apps']['es-mx'] = "Administre las aplicaciones instaladas."; //copied from es-cl
-$text['description-apps']['fr-ca'] = "Gérer les applications installées."; //copied from fr-fr
-$text['description-apps']['fr-fr'] = "Gérer les applications installées.";
-$text['description-apps']['he-il'] = "";
-$text['description-apps']['it-it'] = "Gestisce le applicazioni installate.";
-$text['description-apps']['nl-nl'] = "";
-$text['description-apps']['pl-pl'] = "Zarządzajnie zainstalowanymi aplikacjami.";
-$text['description-apps']['pt-br'] = "Gerenciar as aplicações instaladas";
-$text['description-apps']['pt-pt'] = "Gerir as aplicações instaladas.";
-$text['description-apps']['ro-ro'] = "";
-$text['description-apps']['ru-ru'] = "Управление установленными приложениями.";
-$text['description-apps']['sv-se'] = "Hantera de applikationer som är installerade.";
-$text['description-apps']['uk-ua'] = "Керування встановленими додатками";
-$text['description-apps']['tr-tr'] = "Yüklü bulunan uygulamaları düzenleyin.";
-
-$text['description-app-edit']['en-us'] = "Manage the applications that are installed.";
-$text['description-app-edit']['en-gb'] = "Manage the applications that are installed.";
-$text['description-app-edit']['ar-eg'] = "";
-$text['description-app-edit']['de-at'] = "Installierte Applikationen verwalten"; //copied from de-de
-$text['description-app-edit']['de-ch'] = "Installierte Applikationen verwalten"; //copied from de-de
-$text['description-app-edit']['de-de'] = "Installierte Applikationen verwalten";
-$text['description-app-edit']['es-cl'] = "Administre las aplicaciones instaladas.";
-$text['description-app-edit']['es-mx'] = "Administre las aplicaciones instaladas."; //copied from es-cl
-$text['description-app-edit']['fr-ca'] = "Gérer les applications installées"; //copied from fr-fr
-$text['description-app-edit']['fr-fr'] = "Gérer les applications installées";
-$text['description-app-edit']['he-il'] = "";
-$text['description-app-edit']['it-it'] = "Gestisce le applicazioni installate.";
-$text['description-app-edit']['nl-nl'] = "";
-$text['description-app-edit']['pl-pl'] = "Zarządzajnie zainstalowanymi aplikacjami.";
-$text['description-app-edit']['pt-br'] = "Gerenciar as aplicações instaladas";
-$text['description-app-edit']['pt-pt'] = "Gerir as aplicações instaladas.";
-$text['description-app-edit']['ro-ro'] = "";
-$text['description-app-edit']['ru-ru'] = "Управление установленными приложениями.";
-$text['description-app-edit']['sv-se'] = "Hantera de applikationer som är installerade.";
-$text['description-app-edit']['uk-ua'] = "Керування встановленими додатками";
-$text['description-app-edit']['tr-tr'] = "Yüklü bulunan uygulamaları düzenleyin.";
-
-
-?>

+ 0 - 28
core/apps/app_menu.php

@@ -1,28 +0,0 @@
-<?php
-
-	$y=0;	
-	$apps[$x]['menu'][$y]['title']['en-us'] = "App Manager";
-	$apps[$x]['menu'][$y]['title']['en-gb'] = "App Manager";
-	$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
-	$apps[$x]['menu'][$y]['title']['de-at'] = "Applikation Verwalten";
-	$apps[$x]['menu'][$y]['title']['de-de'] = "Applikation Verwalten";
-	$apps[$x]['menu'][$y]['title']['es-cl'] = "Administrador de Aplicaciones";
-	$apps[$x]['menu'][$y]['title']['es-mx'] = "";
-	$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
-	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Gestion App";
-	$apps[$x]['menu'][$y]['title']['he-il'] = "";
-	$apps[$x]['menu'][$y]['title']['it-it'] = "";
-	$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
-	$apps[$x]['menu'][$y]['title']['pl-pl'] = "Menedżer aplikacji";
-	$apps[$x]['menu'][$y]['title']['pt-br'] = "Gerenciador de aplicações";
-	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Gestor de Aplicações";
-	$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
-	$apps[$x]['menu'][$y]['title']['ru-ru'] = "Менеджер приложений";
-	$apps[$x]['menu'][$y]['title']['sv-se'] = "App Inställningar";
-	$apps[$x]['menu'][$y]['uuid'] = "ef00f229-7890-00c2-bf23-fed5b8fa9fe7";
-	$apps[$x]['menu'][$y]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
-	$apps[$x]['menu'][$y]['category'] = "internal";
-	$apps[$x]['menu'][$y]['path'] = "/core/apps/apps.php";
-	$apps[$x]['menu'][$y]['groups'][] = "superadmin";
-
-?>

+ 0 - 106
core/apps/apps.php

@@ -1,106 +0,0 @@
-<?php
-/*
-	FusionPBX
-	Version: MPL 1.1
-
-	The contents of this file are subject to the Mozilla Public License Version
-	1.1 (the "License"); you may not use this file except in compliance with
-	the License. You may obtain a copy of the License at
-	http://www.mozilla.org/MPL/
-
-	Software distributed under the License is distributed on an "AS IS" basis,
-	WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-	for the specific language governing rights and limitations under the
-	License.
-
-	The Original Code is FusionPBX
-
-	The Initial Developer of the Original Code is
-	Mark J Crane <[email protected]>
-	Portions created by the Initial Developer are Copyright (C) 2008-2020
-	the Initial Developer. All Rights Reserved.
-
-	Contributor(s):
-	Mark J Crane <[email protected]>
-*/
-
-//includes
-	require_once "root.php";
-	require_once "resources/require.php";
-	require_once "resources/check_auth.php";
-	require_once "resources/paging.php";
-
-//check permissions
-	if (if_group("admin") || if_group("superadmin")) {
-		//access granted
-	}
-	else {
-		echo "access denied";
-		exit;
-	}
-
-//add multi-lingual support
-	$language = new text;
-	$text = $language->get();
-
-//get variables used to control the order
-	$order_by = $_GET["order_by"];
-	$order = $_GET["order"];
-
-//get the list of installed apps from the core and mod directories
-	$config_list = glob($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/*/*/app_config.php");
-	$x=0;
-	foreach ($config_list as $config_path) {
-		include($config_path);
-		$x++;
-	}
-
-//include the header
-	$document['title'] = $text['title-apps'];
-	require_once "resources/header.php";
-
-//show the content
-	echo "<div class='action_bar' id='action_bar'>\n";
-	echo "	<div class='heading'><b>".$text['header-apps']."</b></div>\n";
-	echo "	<div class='actions'>\n";
-	echo "	</div>\n";
-	echo "	<div style='clear: both;'></div>\n";
-	echo "</div>\n";
-
-	echo $text['description-apps'];
-	echo "<br /><br />\n";
-
-	echo "<table class='list'>\n";
-	echo "<tr class='list-header'>\n";
-	echo "	<th>".$text['label-name']."</th>\n";
-	echo "	<th>".$text['label-category']."</th>\n";
-	echo "	<th>".$text['label-subcategory']."</th>\n";
-	echo "	<th class='center'>".$text['label-version']."</th>\n";
-	echo "	<th class='hide-sm-dn'>".$text['label-description']."</th>\n";
-	echo "</tr>\n";
-
-	foreach ($apps as $row) {
-		if ($row['uuid'] == "d8704214-75a0-e52f-1336-f0780e29fef8") { continue; }
-
-		$description = $row['description'][$_SESSION['domain']['language']['code']];
-		if (strlen($description) == 0) { $description = $row['description']['en-us']; }
-		if (strlen($description) == 0) { $description = ''; }
-		$row['$description'] = $description;
-
-		echo "<tr class='list-row' href='".$list_row_url."'>\n";
-		echo "	<td class='no-wrap'>".$row['name']."</td>\n";
-		echo "	<td>".escape($row['category'])."&nbsp;</td>\n";
-		echo "	<td>".escape($row['subcategory'])."&nbsp;</td>\n";
-		echo "	<td class='center'>".escape($row['version'])."&nbsp;</td>\n";
-		echo "	<td class='description overflow hide-sm-dn pct-35'>".escape($row['$description'])."</td>\n";
-		echo "</tr>\n";
-	}
-	unset($apps);
-
-	echo "</table>";
-	echo "<br /><br />";
-
-//include the footer
-	require_once "resources/footer.php";
-
-?>

+ 0 - 90
core/apps/root.php

@@ -1,90 +0,0 @@
-<?php
-/*
-	FusionPBX
-	Version: MPL 1.1
-
-	The contents of this file are subject to the Mozilla Public License Version
-	1.1 (the "License"); you may not use this file except in compliance with
-	the License. You may obtain a copy of the License at
-	http://www.mozilla.org/MPL/
-
-	Software distributed under the License is distributed on an "AS IS" basis,
-	WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-	for the specific language governing rights and limitations under the
-	License.
-
-	The Original Code is FusionPBX
-
-	The Initial Developer of the Original Code is
-	Mark J Crane <[email protected]>
-	Portions created by the Initial Developer are Copyright (C) 2008-2012
-	the Initial Developer. All Rights Reserved.
-
-	Contributor(s):
-	Mark J Crane <[email protected]>
-*/
-
-// make sure the PATH_SEPARATOR is defined
-	umask(2);
-	if (!defined("PATH_SEPARATOR")) {
-		if (strpos($_ENV["OS"], "Win") !== false) {
-			define("PATH_SEPARATOR", ";");
-		} else {
-			define("PATH_SEPARATOR", ":");
-		}
-	}
-
-	if (!isset($output_format)) $output_format = (PHP_SAPI == 'cli') ? 'text' : 'html';
-
-	// make sure the document_root is set
-	$_SERVER["SCRIPT_FILENAME"] = str_replace("\\", '/', $_SERVER["SCRIPT_FILENAME"]);
-	if(PHP_SAPI == 'cli'){
-		chdir(pathinfo(realpath($_SERVER["PHP_SELF"]), PATHINFO_DIRNAME));
-		$script_full_path = str_replace("\\", '/', getcwd() . '/' . $_SERVER["SCRIPT_FILENAME"]);
-		$dirs = explode('/', pathinfo($script_full_path, PATHINFO_DIRNAME));
-		if (file_exists('/project_root.php')) {
-			$path = '/';
-		} else {
-			$i    = 1;
-			$path = '';
-			while ($i < count($dirs)) {
-				$path .= '/' . $dirs[$i];
-				if (file_exists($path. '/project_root.php')) {
-					break;
-				}
-				$i++;
-			}
-		}
-		$_SERVER["DOCUMENT_ROOT"] = $path;
-	}else{
-		$_SERVER["DOCUMENT_ROOT"]   = str_replace($_SERVER["PHP_SELF"], "", $_SERVER["SCRIPT_FILENAME"]);
-	}
-	$_SERVER["DOCUMENT_ROOT"]   = realpath($_SERVER["DOCUMENT_ROOT"]);
-// try to detect if a project path is being used
-	if (!defined('PROJECT_PATH')) {
-		if (is_dir($_SERVER["DOCUMENT_ROOT"]. '/fusionpbx')) {
-			define('PROJECT_PATH', '/fusionpbx');
-		} elseif (file_exists($_SERVER["DOCUMENT_ROOT"]. '/project_root.php')) {
-			define('PROJECT_PATH', '');
-		} else {
-			$dirs = explode('/', str_replace('\\', '/', pathinfo($_SERVER["PHP_SELF"], PATHINFO_DIRNAME)));
-			$i    = 1;
-			$path = $_SERVER["DOCUMENT_ROOT"];
-			while ($i < count($dirs)) {
-				$path .= '/' . $dirs[$i];
-				if (file_exists($path. '/project_root.php')) {
-					break;
-				}
-				$i++;
-			}
-			if(!file_exists($path. '/project_root.php')){
-				die("Failed to locate the Project Root by searching for project_root.php please contact support for assistance");
-			}
-			$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
-			define('PROJECT_PATH', $project_path);
-		}
-		$_SERVER["PROJECT_ROOT"] = realpath($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH);
-		set_include_path(get_include_path() . PATH_SEPARATOR . $_SERVER["PROJECT_ROOT"]);
-	}
-
-?>