今天多亏网友指点,才弄懂了怎么在前台上传文件,记录下来跟大家分享一下PHPCMS其实有一个叫做附件的模块,上传用的就是这个东西,现在我们来看一下对应的文件:phpcms\modules\attachment\attachments.php就是这个文件,大概在29行上(我用的PHPCMS版本号是Php...
分类:
Web程序 时间:
2015-03-11 16:46:09
阅读次数:
131
查看主机minion001支持的模块清单sys.list_modules[root@master~]#salt‘minion001‘sys.list_modules
minion001:
-acl
-aliases
-alternatives
-apache
-archive
-at
-blockdev
-bridge
-buildout
-cloud
-cmd
-composer
-config
-cp
-cron
-daemontools
-data
-defaults
-dig
-..
简介
这一篇讲下使用opencv来实现图片拼接,也就是常说的取景模式。
在这一篇:http://blog.sina.com.cn/s/blog_4b27c38d01019xlv.html ,有对该模式做基本介绍。
在opencv官网:http://docs.opencv.org/modules/stitching/doc/stitching.html ,有对这一部分的API做全面的基本介绍。...
分类:
其他好文 时间:
2015-03-10 17:29:22
阅读次数:
190
1、新建模块就是phpcms/modules/目录下面新建文件夹,文件夹名即为模块名。2、模块内 一般新建三个文件夹:classes(模块要使用的类放置在这个文件夹,通过pc_base::load_app_classes()函数加载使用 )/// functions(模...
分类:
Web程序 时间:
2015-03-10 17:09:58
阅读次数:
175
1.打开apache配置文件 httpd.conf 。2.开启rewrite模块,去掉注释##LoadModule rewrite_module modules/mod_rewrite3.让apache服务器支持.htaccess,打开httpd.conf,设置AllowOverride为AllOp...
分类:
Web程序 时间:
2015-03-09 14:19:50
阅读次数:
192
一、改动httpd.conf打开appserv的安装文件夹,找到httpd.conf文件,分别去掉以下两行文字前面的#号。#LoadModule vhost_alias_module modules/mod_vhost_alias.so去掉#意思是启用apache的虚拟主机功能。#Include c...
分类:
Web程序 时间:
2015-03-07 13:42:48
阅读次数:
138
1、make distclean2、make menuconfig3、make bzImage4、make modules5、make modules_install
分类:
系统相关 时间:
2015-03-06 18:50:51
阅读次数:
156
在开发测试环境中,可能硬件资源不够情况下,要怎么实现集群呢,以下就举一例:环境:win7工具:apache一枚tomcat两枚分别命名为tomcat1、tomcat2mod_jk一枚(尽量和apache同一个版本)一路安装,mod_jk不是安装的.这个文件要拷贝到Apache目录的modules目录里面。配置Tomcat集..
分类:
Web程序 时间:
2015-03-06 17:20:39
阅读次数:
175
一、改动httpd.conf打开appserv的安装文件夹,找到httpd.conf文件,分别去掉以下两行文字前面的#号。#LoadModule vhost_alias_module modules/mod_vhost_alias.so去掉#意思是启用apache的虚拟主机功能。#Include c...
分类:
Web程序 时间:
2015-03-06 16:59:13
阅读次数:
154
Default (and possibly architecture dependents) HAL modules go here. libhardware.so eventually should contain *just* the HAL hub(hardware.c), everythin...
分类:
移动开发 时间:
2015-03-05 16:33:38
阅读次数:
160