2007-09-08

mambo中新增文章时,如果插入图片,设置上传路径的问题

Posted in PHP at 19:42 Author:仲远

标签:

使用mambo系统时,如果直接在文章中上传图片,往往会上传到根目录下,可以修改如下配置文件

/mambots/editors/mambofck/FCKeditor/editor/filemanager/upload/php/config.php中的

  1. $Config['UserFilesPath'] = "$mosConfig_live_site/images/stories/2007/";
  2. $Config['UserFilesAbsolutePath'] = "$mosConfig_absolute_path/images/stories/2007/";

为你想要存放图片的默认路径

本文可以自由转载,转载时请保留全文并注明出处:
转载自仲子说 [ http://www.wangzhongyuan.com/ ]
原文链接:

Leave a Comment

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word