<?php
//
// Project: phpLiteAdmin (http://www.phpliteadmin.org/)
// Version: 1.9.7.1
// Summary: PHP-based admin tool to manage SQLite2 and SQLite3 databases on the web
// Last updated: 2016-12-14
// Developers:
// Dane Iracleous (daneiracleous@gmail.com)
// Ian Aldrighetti (ian.aldrighetti@gmail.com)
// George Flanagin & Digital Gaslight, Inc (george@digitalgaslight.com)
// Christopher Kramer (crazy4chrissi@gmail.com, http://en.christosoft.de)
// Ayman Teryaki (http://havalite.com)
// Dreadnaut (dreadnaut@gmail.com, http://dreadnaut.altervista.org)
//
//
// Copyright (C) 2016, phpLiteAdmin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// ////////////////////////////////////////////////////////////////////////
//
// Please report any bugs you may encounter to our issue tracker here:
// https://bitbucket.org/phpliteadmin/public/issues?status=new&status=open
//
// This is sample configuration file
//
// You can configure phpliteadmin in one of 2 ways:
// 1. Rename phpliteadmin.config.sample.php to phpliteadmin.config.php and change parameters in there.
// You can set only your custom settings in phpliteadmin.config.php. All other settings will be set to defaults.
// 2. Change parameters directly in main phpliteadmin.php file
//
// Please see https://bitbucket.org/phpliteadmin/public/wiki/Configuration for more details
//password to gain access
$password = 'admin';
//directory relative to this file to search for databases (if false, manually list databases in the $databases variable)
$directory = '.';
//whether or not to scan the subdirectories of the above directory infinitely deep
$subdirectories = false;
//if the above $directory variable is set to false, you must specify the databases manually in an array as the next variable
//if any of the databases do not exist as they are referenced by their path, they will be created automatically
$databases = array(
array(
'path'=> 'database1.sqlite',
'name'=> 'Database 1'
),
array(
'path'=> 'database2.sqlite',
'name'=> 'Database 2'
),
);
/* ---- Interface settings ---- */
// Theme! If you want to change theme, save the CSS file in same folder of phpliteadmin or in folder "themes"
$theme = 'phpliteadmin.css';
// the default language! If you want to change it, save the language file in same folder of phpliteadmin or in folder "languages"
// More about localizations (downloads, how to translate etc.): https://bitbucket.org/phpliteadmin/public/wiki/Localization
$language = 'en';
// set default number of rows. You need to relog after changing the number
$rowsNum = 30;
// reduce string characters by a number bigger than 10
$charsNum = 300;
// maximum number of SQL queries to save in the history
$maxSavedQueries = 10;
/* ---- Custom functions ---- */
//a list of custom functions that can be applied to columns in the databases
//make sure to define every function below if it is not a core PHP function
$custom_functions = array(
'md5', 'sha1', 'time', 'strtotime',
// add the names of your custom functions to this array
/* 'leet_text', */
);
// define your custom functions here
/*
function leet_text($value)
{
return strtr($value, 'eaAsSOl', '344zZ01');
}
*/
/* ---- Advanced options ---- */
//changing the following variable allows multiple phpLiteAdmin installs to work under the same domain.
$cookie_name = 'pla3412';
//whether or not to put the app in debug mode where errors are outputted
$debug = false;
// the user is allowed to create databases with only these extensions
$allowed_extensions = array('db','db3','sqlite','sqlite3');
// English language-texts.
// Read our wiki on how to translate: https://bitbucket.org/phpliteadmin/public/wiki/Localization
$lang = array(
"direction" => "LTR",
"date_format" => 'g:ia \o\n F j, Y (T)', // see http://php.net/manual/en/function.date.php for what the letters stand for
"ver" => "version",
"for" => "for",
"to" => "to",
"go" => "Go",
"yes" => "Yes",
"no" => "No",
"sql" => "SQL",
"csv" => "CSV",
"csv_tbl" => "Table that CSV pertains to",
"srch" => "Search",
"srch_again" => "Do Another Search",
"login" => "Log In",
"logout" => "Logout",
"view" => "View",
"confirm" => "Confirm",
"cancel" => "Cancel",
"save_as" => "Save As",
"options" => "Options",
"no_opt" => "No options",
"help" => "Help",
"installed" => "installed",
"not_installed" => "not installed",
"done" => "done",
"insert" => "Insert",
"export" => "Export",
"import" => "Import",
"rename" => "Rename",
"empty" => "Empty",
"drop" => "Drop",
"tbl" => "Table",
"chart" => "Chart",
"err" => "ERROR",
"act" => "Action",
"rec" => "Records",
"col" => "Column",
"cols" => "Columns",
"rows" => "row(s)",
"edit" => "Edit",
"del" => "Delete",
"add" => "Add",
"backup" => "Backup database file",
"before" => "Before",
"after" => "After",
"passwd" => "Password",
"passwd_incorrect" => "Incorrect password.",
"chk_ext" => "Checking supported SQLite PHP extensions",
"autoincrement" => "Autoincrement",
"not_null" => "Not NULL",
"attention" => "Attention",
"none" => "None",
"as_defined" => "As defined",
"expression" => "Expression",
"sqlite_ext" => "SQLite extension",
"sqlite_ext_support" => "It appears that none of the supported SQLite library extensions are available in your installation of PHP. You may not use %s until you install at least one of them.",
"sqlite_v" => "SQLite version",
"sqlite_v_error" => "It appears that your database is of SQLite version %s but your installation of PHP does not contain the necessary extensions to handle this version. To fix the problem, either delete the database and allow %s to create it automatically or recreate it manually as SQLite version %s.",
"report_issue" => "The problem cannot be diagnosed properly. Please file an issue report at",
"sqlite_limit" => "Due to the limitations of SQLite, only the field name and data type can be modified.",
"php_v" => "PHP version",
"new_version" => "There is a new version!",
"db_dump" => "database dump",
"db_f" => "database file",
"db_ch" => "Change Database",
"db_event" => "Database Event",
"db_name" => "Database name",
"db_rename" => "Rename Database",
"db_renamed" => "Database '%s' has been renamed to",
"db_del" => "Delete Database",
"db_path" => "Path to database",
"db_size" => "Size of database",
"db_mod" => "Database last modified",
"db_create" => "Create New Database",
"db_vac" => "The database, '%s', has been VACUUMed.",
"db_not_writeable" => "The database, '%s', does not exist and cannot be created because the containing directory, '%s', is not writable. The application is unusable until you make it writable.",
"db_setup" => "There was a problem setting up your database, %s. An attempt will be made to find out what's going on so you can fix the problem more easily",
"db_exists" => "A database, other file or directory of the name '%s' already exists.",
"exported" => "Exported",
"struct" => "Structure",
"struct_for" => "structure for",
"on_tbl" => "on table",
"data_dump" => "Data dump for",
"backup_hint" => "Hint: To backup your database, the easiest way is to %s.",
"backup_hint_linktext" => "download the database
没有合适的资源?快使用搜索试试~ 我知道了~
phpliteadmin.rar_The Project
共1个文件
php:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 71 浏览量
2022-09-15
00:54:21
上传
评论
收藏 45KB RAR 举报
温馨提示
phjp exempel of the my project
资源推荐
资源详情
资源评论
收起资源包目录
phpliteadmin.rar (1个子文件)
phpliteadmin.php 234KB
共 1 条
- 1
资源评论
alvarocfc
- 粉丝: 112
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功