ajaxplorer
所属分类:WEB开发
开发工具:PHP
文件大小:6579KB
下载次数:0
上传日期:2018-07-28 08:44:01
上 传 者:
小小ERP
说明: AjaXplorer文件管理工具,简单,方便管理文件,WEB方式,默认账号admin密码admin
(AjaXplorer file control manager tools)
文件列表:
ajaxplorer (0, 2018-07-28)
ajaxplorer\.htaccess (751, 2011-04-22)
ajaxplorer\base.conf.php (1202, 2011-10-17)
ajaxplorer\cmd.php (9093, 2012-06-21)
ajaxplorer\conf (0, 2012-07-23)
ajaxplorer\conf\.htaccess (13, 2007-12-03)
ajaxplorer\conf\bootstrap_conf.php (2315, 2012-03-27)
ajaxplorer\conf\bootstrap_context.php (4408, 2012-04-18)
ajaxplorer\conf\bootstrap_plugins.php (3269, 2012-06-24)
ajaxplorer\conf\bootstrap_repositories.php (4176, 2011-11-11)
ajaxplorer\conf\extensions.conf.php (2772, 2012-05-19)
ajaxplorer\conf\index.html (0, 2010-07-01)
ajaxplorer\conf\RELEASE_NOTE (24889, 2012-07-23)
ajaxplorer\conf\templates (0, 2012-07-23)
ajaxplorer\conf\templates\bootstrap_plugins.bridges.php (4513, 2012-06-24)
ajaxplorer\conf\templates\bootstrap_plugins.multi.php (6055, 2012-06-24)
ajaxplorer\conf\templates\bootstrap_plugins.sql.php (2927, 2012-06-24)
ajaxplorer\conf\VERSION (23, 2012-07-23)
ajaxplorer\content.php (1014, 2011-09-25)
ajaxplorer\core (0, 2012-07-23)
ajaxplorer\core\classes (0, 2012-07-23)
ajaxplorer\core\classes\class.AbstractTest.php (2949, 2011-12-04)
ajaxplorer\core\classes\class.AjxpRole.php (4144, 2011-12-29)
ajaxplorer\core\classes\class.AJXP_Cache.php (5279, 2012-04-15)
ajaxplorer\core\classes\class.AJXP_Controller.php (15612, 2012-07-19)
ajaxplorer\core\classes\class.AJXP_Exception.php (1603, 2011-12-04)
ajaxplorer\core\classes\class.AJXP_JSPacker.php (3013, 2012-02-23)
ajaxplorer\core\classes\class.AJXP_Logger.php (2722, 2011-12-04)
ajaxplorer\core\classes\class.AJXP_Node.php (7357, 2012-03-07)
ajaxplorer\core\classes\class.AJXP_Plugin.php (23345, 2012-03-15)
ajaxplorer\core\classes\class.AJXP_PluginsService.php (21997, 2012-03-27)
ajaxplorer\core\classes\class.AJXP_Safe.php (8340, 2012-05-18)
ajaxplorer\core\classes\class.AJXP_ShutdownScheduler.php (3014, 2012-02-05)
ajaxplorer\core\classes\class.AJXP_Utils.php (41351, 2012-07-19)
ajaxplorer\core\classes\class.AJXP_VarsFilter.php (2142, 2012-03-15)
ajaxplorer\core\classes\class.AJXP_WebdavAuth.php (10207, 2012-04-19)
ajaxplorer\core\classes\class.AJXP_WebdavBackend.php (34029, 2012-07-10)
ajaxplorer\core\classes\class.AJXP_XMLWriter.php (21976, 2012-07-23)
ajaxplorer\core\classes\class.AuthService.php (23480, 2012-07-23)
ajaxplorer\core\classes\class.CaptchaProvider.php (2897, 2011-12-04)
... ...
log.sql plugin documentation
-----------------------------
This is the log.sql plugin. It stores AjaXplorer logging
information in an SQL database.
configuring the plugin
----------------------
Below is an example configuration. Tweak this to suit your needs and
then insert it into conf.php.
You will need to comment out or remove the existing serial driver in
order for this to work properly.
"LOG_DRIVER" => array(
"NAME" => "sql",
"OPTIONS" => array(
"SQL_DRIVER" => array(
"driver" => "mysql",
"host" => "localhost",
"database" => "ajxp",
"user" => "ajxp",
"password" => "ajxp"
)
)
),
When you are happy with the configuration, run the create.sql script
located inside the same directory as the plugin
to create the database schema for the log.sql plugin.
Note that the performance of AjaXplorer is slightly degraded by the
overhead of the plugin - but that's what you sacrifice for the
flexibility.
table structure
---------------
+-----------+-------------------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+-------------------------------------------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| logdate | datetime | YES | | NULL | |
| remote_ip | VARCHAR(32) | YES | | NULL | |
| severity | enum('DEBUG','INFO','NOTICE','WARNING','ERROR') | YES | | NULL | |
| user | varchar(255) | YES | | NULL | |
| message | varchar(255) | YES | | NULL | |
| params | varchar(255) | YES | | NULL | |
+-----------+-------------------------------------------------+------+-----+---------+----------------+
// ORIGINAL
The remote_ip is reduced to decimal format, this can cater for IPv4 and IPv6 in future versions. See inet_ptod() and inet_dtop() in the source.
The severity is normalised to ensure we only record valid log severity levels. This might be turned into varchar if we find this too limiting.
// AT THE MOMENT THE REMOTE_IP IS STORED AS IS IN THE DB
This file is part of the AjaXplorer distribution.
Contribution by Mosen : greetings!
近期下载者:
相关文件:
收藏者: