From cabd6f6205756a51064fb856aca2ed94d28b1cf7 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 12 Sep 2008 11:31:19 -0400 Subject: [PATCH] Disabled suphp_UserGroup directive by default to make the setup compatible with the suphp compile options from most linux distributions. If you want some extra security, enable this directive again and recompile mod_suphp with the the option --with-setid-mode=paranoid --- interface/web/admin/list/dbsync.list.php | 93 ++++++++++++++++++++++------------------------ 1 files changed, 45 insertions(+), 48 deletions(-) diff --git a/interface/web/admin/list/dbsync.list.php b/interface/web/admin/list/dbsync.list.php index 159306a..dd5bca3 100644 --- a/interface/web/admin/list/dbsync.list.php +++ b/interface/web/admin/list/dbsync.list.php @@ -1,71 +1,68 @@ <?php - /* - Datentypen: - - INTEGER (Wandelt Ausdr�cke in Int um) - - DOUBLE - - CURRENCY (Formatiert Zahlen nach W�hrungsnotation) - - VARCHAR (kein weiterer Format Check) - - TEXT (kein weiterer Format Check) - - DATE (Datumsformat, Timestamp Umwandlung) + Datatypes: + - INTEGER + - DOUBLE + - CURRENCY + - VARCHAR + - TEXT + - DATE */ +//* Name of list +$liste['name'] = 'dbsync'; +//* Database table +$liste['table'] = 'sys_dbsync'; -// Name der Liste -$liste["name"] = "dbsync"; +//* Primary index column +$liste['table_idx'] = 'id'; -// Datenbank Tabelle -$liste["table"] = "sys_dbsync"; +//* Search Field Prefix +$liste['search_prefix'] = 'search_'; -// Index Feld der datenbank -$liste["table_idx"] = "id"; +//* Records per page +$liste['records_per_page'] = 15; -// Search Field Prefix -$liste["search_prefix"] = "search_"; +//* Script file for listing +$liste['file'] = 'dbsync_list.php'; -// Eintr�ge pro Seite -$liste["records_per_page"] = 15; +//* Script file for editing +$liste['edit_file'] = 'dbsync_edit.php'; -// Script File der Liste -$liste["file"] = "dbsync_list.php"; +//* Script file for deleting +$liste['delete_file'] = 'dbsync_del.php'; -// Script File der Liste -$liste["edit_file"] = "dbsync_edit.php"; +//* Paging Template +$liste['paging_tpl'] = 'templates/paging.tpl.htm'; -// Script File der Liste -$liste["delete_file"] = "dbsync_del.php"; - -// Paging Template -$liste["paging_tpl"] = "templates/paging.tpl.htm"; - -// Script File der Liste -$liste["auth"] = "no"; +//* Enable auth +$liste['auth'] = 'no'; /***************************************************** * Suchfelder *****************************************************/ -$liste["item"][] = array( 'field' => "jobname", - 'datatype' => "VARCHAR", - 'op' => "like", - 'prefix' => "%", - 'suffix' => "%", - 'width' => ""); +$liste['item'][] = array( 'field' => 'jobname', + 'datatype' => 'VARCHAR', + 'op' => 'like', + 'prefix' => '%', + 'suffix' => '%', + 'width' => ''); -$liste["item"][] = array( 'field' => "db_host", - 'datatype' => "VARCHAR", - 'op' => "like", - 'prefix' => "%", - 'suffix' => "%", - 'width' => ""); +$liste['item'][] = array( 'field' => 'db_host', + 'datatype' => 'VARCHAR', + 'op' => 'like', + 'prefix' => '%', + 'suffix' => '%', + 'width' => ''); -$liste["item"][] = array( 'field' => "db_name", - 'datatype' => "VARCHAR", - 'op' => "like", - 'prefix' => "%", - 'suffix' => "%", - 'width' => ""); +$liste['item'][] = array( 'field' => 'db_name', + 'datatype' => 'VARCHAR', + 'op' => 'like', + 'prefix' => '%', + 'suffix' => '%', + 'width' => ''); ?> \ No newline at end of file -- Gitblit v1.9.1