From fae47c0f382f4ba3ba5973a9faedaa720ce22712 Mon Sep 17 00:00:00 2001 From: dwlnetnl Date: Fri, 21 Mar 2008 00:53:11 +0000 Subject: [PATCH] Remove dev configuration. git-svn-id: https://spidio.svn.sourceforge.net/svnroot/spidio/trunk@58 320fe40c-3c3b-0410-9cc9-b70baed1f55e --- www/includes/configuration.inc.php | 102 ------------------------------------- 1 file changed, 102 deletions(-) delete mode 100755 www/includes/configuration.inc.php diff --git a/www/includes/configuration.inc.php b/www/includes/configuration.inc.php deleted file mode 100755 index b549447..0000000 --- a/www/includes/configuration.inc.php +++ /dev/null @@ -1,102 +0,0 @@ - 'MySqli5', - 'server' => 'localhost', - 'port' => null, - 'database' => 'spidio_dev', - 'username' => 'spidio', - 'password' => 'spidio', - 'profiling' => false))); - break; - case 'test': - define('ALLOW_REMOTE_ADMIN', true); - - define ('__DOCROOT__', '/file/path/to/www'); - define ('__VIRTUAL_DIRECTORY__', ''); - define ('__SUBDIRECTORY__', '/test/spidio'); - - define('DB_CONNECTION_1', serialize(array( - 'adapter' => 'MySqli5', - 'server' => 'localhost', - 'port' => null, - 'database' => 'spidio_test', - 'username' => 'spidio', - 'password' => '', - 'profiling' => false))); - break; - case 'stage': - case 'prod': -/* define('ALLOW_REMOTE_ADMIN', false); - - define ('__DOCROOT__', '/home/qcodo/wwwroot'); - define ('__VIRTUAL_DIRECTORY__', ''); - define ('__SUBDIRECTORY__', ''); - - define('DB_CONNECTION_1', serialize(array( - 'adapter' => 'MySqli5', - 'server' => 'localhost', - 'port' => null, - 'database' => 'spidio', - 'username' => 'spidio', - 'password' => 'spidio', - 'profiling' => false))); - break; -*/ } - - define ('__URL_REWRITE__', 'apache'); - - define ('__DEVTOOLS_CLI__', __DOCROOT__ . '/../_devtools_cli'); - define ('__INCLUDES__', __DOCROOT__ . '/includes'); - define ('__QCODO__', __INCLUDES__ . '/qcodo'); - define ('__QCODO_CORE__', __INCLUDES__ . '/qcodo/_core'); - define ('__DATA_CLASSES__', __INCLUDES__ . '/data_classes'); - define ('__DATAGEN_CLASSES__', __INCLUDES__ . '/data_classes/generated'); - define ('__DATA_META_CONTROLS__', __INCLUDES__ . '/data_meta_controls'); - define ('__DATAGEN_META_CONTROLS__', __INCLUDES__ . '/data_meta_controls/generated'); - - define ('__DEVTOOLS__', __SUBDIRECTORY__ . '/_devtools'); - define ('__FORM_DRAFTS__', null); - define ('__PANEL_DRAFTS__', __SUBDIRECTORY__ . '/admin'); - - // We don't want "Examples", and we don't want to download them during qcodo_update - define ('__EXAMPLES__', null); - - define ('__JS_ASSETS__', __SUBDIRECTORY__ . '/assets/js'); - define ('__CSS_ASSETS__', __SUBDIRECTORY__ . '/assets/css'); - define ('__IMAGE_ASSETS__', __SUBDIRECTORY__ . '/assets/images'); - define ('__PHP_ASSETS__', __SUBDIRECTORY__ . '/assets/php'); - - define ('__TEMPLATES__', __DOCROOT__ . __SUBDIRECTORY__ . '/templates'); - define ('__FORMS__', __DOCROOT__ . __SUBDIRECTORY__ . '/forms'); - - if ((function_exists('date_default_timezone_set')) && (!ini_get('date.timezone'))) - date_default_timezone_set('Europe/Amsterdam'); - - define('ERROR_PAGE_PATH', __PHP_ASSETS__ . '/_core/error_page.php'); -// define('ERROR_LOG_PATH', __INCLUDES__ . '/error_log'); -// define('ERROR_LOG_FLAG', true); - -// define('ERROR_FRIENDLY_PA GE_PATH', __PHP_ASSETS__ . '/friendly_error_page.php'); -// define('ERROR_FRIENDLY_AJAX_MESSAGE', 'Oops! An error has occurred.\r\n\r\nThe error was logged, and we will take a look into this right away.'); - - define('__SOAPSYS__', __SUBDIRECTORY__ . '/soap'); - - define('MAGIC_COLUMN_NAME_CREATION_DATE', 'added'); - define('MAGIC_COLUMN_NAME_MODIFICATION_DATE', 'changed'); - -?> \ No newline at end of file -- 2.11.4.GIT