CC-1695 Remove Campcaster Studio and make install easier
Fixed references to files for new directory structure for the backend stuff.
This commit is contained in:
parent
fe724b7814
commit
2ece374513
319 changed files with 75 additions and 357 deletions
|
@ -2,13 +2,12 @@
|
|||
define('NSPACE', 'lse');
|
||||
|
||||
header("Content-type: text/plain");
|
||||
require_once('conf.php');
|
||||
require_once("$STORAGE_SERVER_PATH/var/conf.php");
|
||||
require_once('DB.php');
|
||||
require_once("XML/Util.php");
|
||||
require_once("XML/Beautifier.php");
|
||||
require_once("$STORAGE_SERVER_PATH/var/BasicStor.php");
|
||||
require_once("$STORAGE_SERVER_PATH/var/Prefs.php");
|
||||
require_once(dirname(__FILE__)."/../conf.php");
|
||||
require_once(dirname(__FILE__)."/../backend/BasicStor.php");
|
||||
require_once(dirname(__FILE__)."/../backend/Prefs.php");
|
||||
|
||||
PEAR::setErrorHandling(PEAR_ERROR_RETURN);
|
||||
$CC_DBC = DB::connect($CC_CONFIG['dsn'], TRUE);
|
||||
|
|
|
@ -12,11 +12,10 @@ set_time_limit(0);
|
|||
error_reporting(E_ALL);
|
||||
set_error_handler("camp_import_error_handler", E_ALL & !E_NOTICE);
|
||||
|
||||
require_once('conf.php');
|
||||
require_once("$STORAGE_SERVER_PATH/var/conf.php");
|
||||
require_once('DB.php');
|
||||
require_once("$STORAGE_SERVER_PATH/var/GreenBox.php");
|
||||
require_once('Console/Getopt.php');
|
||||
require_once(dirname(__FILE__)."/../conf.php");
|
||||
require_once(dirname(__FILE__)."/../backend/GreenBox.php");
|
||||
|
||||
function camp_import_error_handler()
|
||||
{
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
<?php
|
||||
$STORAGE_SERVER_PATH = dirname(__FILE__)."/../../storageServer";
|
||||
?>
|
|
@ -1,6 +1,5 @@
|
|||
<?
|
||||
require_once('conf.php');
|
||||
require_once("$STORAGE_SERVER_PATH/var/conf.php");
|
||||
require_once(dirname(__FILE__)."/../conf.php");
|
||||
header("Conten-type: text/plain");
|
||||
$dbname = $CC_CONFIG['dsn']['database'];
|
||||
$dbuser = $CC_CONFIG['dsn']['username'];
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
header("Content-type: text/plain");
|
||||
require_once('conf.php');
|
||||
require_once("$STORAGE_SERVER_PATH/var/conf.php");
|
||||
require_once("../conf.php");
|
||||
|
||||
echo $CC_CONFIG['storageDir']."\n";
|
||||
?>
|
|
@ -4,13 +4,12 @@ define('VERBOSE', FALSE);
|
|||
#define('VERBOSE', TRUE);
|
||||
|
||||
header("Content-type: text/plain");
|
||||
require_once 'conf.php';
|
||||
require_once "$STORAGE_SERVER_PATH/var/conf.php";
|
||||
require_once 'DB.php';
|
||||
require_once "XML/Util.php";
|
||||
require_once "XML/Beautifier.php";
|
||||
require_once "$STORAGE_SERVER_PATH/var/BasicStor.php";
|
||||
require_once "$STORAGE_SERVER_PATH/var/Prefs.php";
|
||||
require_once dirname(__FILE__)."/../conf.php";
|
||||
require_once dirname(__FILE__)."/../backend/BasicStor.php";
|
||||
require_once dirname(__FILE__)."/../backend/Prefs.php";
|
||||
|
||||
/* =========================================================== misc functions */
|
||||
function ls_restore_processObject($el)
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__).'/../var/conf.php');
|
||||
require_once(dirname(__FILE__).'/../var/GreenBox.php');
|
||||
require_once(dirname(__FILE__).'/../var/Restore.php');
|
||||
require_once(dirname(__FILE__).'/../conf.php');
|
||||
require_once(dirname(__FILE__).'/../backend/GreenBox.php');
|
||||
require_once(dirname(__FILE__).'/../backend/Restore.php');
|
||||
include_once('DB.php');
|
||||
|
||||
PEAR::setErrorHandling(PEAR_ERROR_RETURN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue