dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
index.php File Reference

Go to the source code of this file.

Namespaces

namespace  dbXapp
 dbXwebApp

Functions

 dbx_error_log_file ()
 dbx_error_type ($errno)
 dbx_write_php_error_log ($type, $message, $file='', $line=0)
 dbx_get_base_dir ($cut_Data=0)
 dbx_os_path_file ($path_file)
 dbx_path_is_absolute (string $path)
 dbx_config_path_store (string $path, bool $dirTrailingSlash=false)
 dbx_config_path_resolve (string $path)
 dbx_config_is_module_db_entry (string $key, array $entry)
 dbx_config_strip_module_db_entries (array $config)
 dbx_normalize_config_for_store (array $config)
 dbx_get_file_dir ()
 dbx_media_missing_key ($mid, $rel='')
 dbx_media_serve_fail ($code, $mid, $rel='')
 dbx_serve_content_media_request ()
 run_dbXwebApp ()

Variables

 $__dbx_request_started_at = microtime(true)
 $https = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || (int)($_SERVER['SERVER_PORT'] ?? 0) === 443
const dbxSystem (session_status() !==PHP_SESSION_ACTIVE) 'dbxWebApp'
const dbxRunAsAdmin 0
 $path_file =dbx_get_base_dir().'dbx/vendor/autoload.php'
 $response =run_dbXwebApp()
 $syncRequest = (int) dbx()->get_request_var('dbx_sync', 1, 'int') === 1
 if ( $syncRequest)
 exit

Function Documentation

◆ dbx_config_is_module_db_entry()

dbx_config_is_module_db_entry ( string $key,
array $entry )

Definition at line 231 of file index.php.

◆ dbx_config_path_resolve()

dbx_config_path_resolve ( string $path)

Definition at line 220 of file index.php.

Referenced by dbxDB\dbConnect().

◆ dbx_config_path_store()

dbx_config_path_store ( string $path,
bool $dirTrailingSlash = false )

Definition at line 200 of file index.php.

Referenced by dbxDB\connect_db_server(), and dbxDD\ensure_sqlite_db_file_for_dd().

◆ dbx_config_strip_module_db_entries()

dbx_config_strip_module_db_entries ( array $config)

Definition at line 246 of file index.php.

References $config, and if.

Referenced by dbx_normalize_config_for_store().

◆ dbx_error_log_file()

dbx_error_log_file ( )

Definition at line 49 of file index.php.

References $dir.

Referenced by dbx_write_php_error_log().

◆ dbx_error_type()

dbx_error_type ( $errno)

Definition at line 59 of file index.php.

◆ dbx_get_base_dir()

◆ dbx_get_file_dir()

◆ dbx_media_missing_key()

dbx_media_missing_key ( $mid,
$rel = '' )

Definition at line 276 of file index.php.

References $_SERVER.

Referenced by dbx_media_serve_fail().

◆ dbx_media_serve_fail()

dbx_media_serve_fail ( $code,
$mid,
$rel = '' )

Definition at line 287 of file index.php.

References dbx_media_missing_key(), and exit.

Referenced by dbx_serve_content_media_request().

◆ dbx_normalize_config_for_store()

dbx_normalize_config_for_store ( array $config)

Definition at line 261 of file index.php.

References $config, and dbx_config_strip_module_db_entries().

◆ dbx_os_path_file()

◆ dbx_path_is_absolute()

dbx_path_is_absolute ( string $path)

Definition at line 189 of file index.php.

◆ dbx_serve_content_media_request()

dbx_serve_content_media_request ( )

◆ dbx_write_php_error_log()

dbx_write_php_error_log ( $type,
$message,
$file = '',
$line = 0 )

Definition at line 81 of file index.php.

References $_SERVER, and dbx_error_log_file().

Referenced by dbx_serve_content_media_request().

◆ run_dbXwebApp()

run_dbXwebApp ( )

Definition at line 427 of file index.php.

References $base.

Variable Documentation

◆ $__dbx_request_started_at

$__dbx_request_started_at = microtime(true)

Definition at line 19 of file index.php.

◆ $https

$https = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || (int)($_SERVER['SERVER_PORT'] ?? 0) === 443

Definition at line 24 of file index.php.

◆ $path_file

◆ $response

◆ $syncRequest

$syncRequest = (int) dbx()->get_request_var('dbx_sync', 1, 'int') === 1

Definition at line 519 of file index.php.

◆ dbxRunAsAdmin

const dbxRunAsAdmin 0

Definition at line 47 of file index.php.

◆ dbxSystem

const dbxSystem(session_status() !==PHP_SESSION_ACTIVE) ( session_status() ! = = PHP_SESSION_ACTIVE) 'dbxWebApp'

Definition at line 46 of file index.php.

◆ exit

◆ if

if($syncRequest) ( $syncRequest)

Definition at line 520 of file index.php.

Referenced by dbx\dbxContent\dbxContentLngSync\accessibleLngs(), dbx\dbxContact\dbxContactTicket\addMessage(), dbx\dbxShop\dbxShopRepository\addOrderHistory(), dbx\dbxContent\dbxContentLngSync\backfillMasterLng(), dbx\dbxContent\dbxContentLngSync\backfillUids(), dbx\dbxKi\dbxKiCmsService\bundleBuildPlan(), dbx\dbxKi\dbxKiCmsService\bundleExecutePlan(), dbx\dbxContent\dbxContentLngSync\collectPageIdsInFolders(), dbx\dbxContact\dbxContactList\contactListReportRowActionData(), dbx\dbxContact_admin\dbxContactAdmin\contactTicketReportRowActionData(), dbx\dbxContent\dbxContentHome\currentLng(), dbx\myLKW\myLKW_import\dbx_clean_utf8(), dbx_config_strip_module_db_entries(), dbx\myLKW\dbx_get_datum(), dbx\dbxContent_admin\dbxContent_cms\delete_folder_record(), dbx\dbxContent_admin\dbxContent_cms\delete_media_record(), dbx\dbxContent_admin\dbxContent_cms\delete_page_record(), drawFlatProduct(), dbx\dbxContent\dbxContentLngSync\ensureSchema(), dbxDB\exec(), dbxObj\get_callback_name(), dbxReport\get_record(), dbxReport\get_record_val(), dbx\dbxAdmin\dbxModuleRegistry\groupOptions(), dbx\dbxKi\dbxKiBundleService\handleExport(), dbx\dbxKi\dbxKiHelp\helpWindowBarTemplateData(), dbx\dbxContent\dbxContentPageCache\invalidateFolderTree(), dbx\dbxContent\dbxContentPageCache\invalidateSitemap(), dbx\dbxContent\dbxContentPageCache\isContentRoute(), dbx\dbxContent\dbxContentLngSync\isMasterLng(), dbx\dbxContent\dbxContentPageCache\isPermalinkPageRequest(), dbx\dbxContact\dbxContactTicket\messages(), dbx\dbxKi\dbxKiHelp\moduleBarTemplateData(), dbx\dbxContact\dbxContactConfig\modulMailEnabled(), dbx\myLKW\myLKW_import\normalize_str(), dbxDB\normalize_where(), dbxDB\query(), dbxDB\rawQuery(), dbx\dbxContent\dbxContentPageCache\readContent(), dbxTPL\replaces(), dbx\dbxKi\dbxKiHelp\resolveScreen(), dbx\dbxContact\dbxContactContentProvision\run(), dbx\dbxContent\dbxContentSitemap\serve(), dbx\dbxContent\dbxContentSitemap\serveRobots(), dbxObj\set_callback(), dbxObj\set_callback_owner(), dbxReport\set_callback_owner(), dbxReport\set_record_val(), dbxMail\spam_reason_for_text(), dbxDB\sqlite_sequence_exists(), dbxPerformanceTimer\store(), dbx\dbxShop\dbxShopAmazonPay\testConnection(), dbx\dbxShop\dbxShopPayPal\testConnection(), dbx\dbxContact\dbxContactTicket\ticket(), dbx\dbxContact\dbxContactTicket\touch(), dbx\dbxShop\dbxShopRepository\withdrawalsForOrder(), and dbx\dbxContent\dbxContentPageCache\writeContent().