;;;;;;;;;;;;;;;;;;;;; ; FPM Configuration ; ;;;;;;;;;;;;;;;;;;;;; ; All relative paths in this configuration file are relative to PHP's install ; prefix (/usr). This prefix can be dynamically changed by using the ; '-p' argument from the command line
好久没写了,最近没怎么学到新东西,倒是犯了一个很常见的错误,那就是试图在content editor webpart中添加位于_layouts下面的一个txt文件,虽然这个txt中只是几行简单的html代码,并没有后台代码,但还是引起页面报错:不能解析_layouts下面的路径. 其实道理很简单,因为安全原因,SharePoint不知道位于_layouts下面的文件是否会调用一些后台的代码,如果贸然加载的话,势必会影响SharePoint的安全.也许有的人就会问了,那webpart中user c
转载:http://www.cnblogs.com/kivenhou/archive/2013/02/22/2921954.html 操作List前请设置SPWeb的allowUnsafeUpdate = true; var site = new SPSite("http://stormwind:10000").RootWeb; site.AllowUnsafeUpdates = true; 添加sharepoint list数据 ===========================