【问题标题】:Responsive filemanager | The upload folder there isn't. Check your config.php file响应式文件管理器 |上传文件夹没有。检查您的 config.php 文件
【发布时间】:2018-08-08 05:48:48
【问题描述】:

当对话框打开时我使用独立的响应式文件管理器,然后那里没有出现任何文件夹并且错误是:没有上传文件夹。检查您的config.php 文件。

我在 responsive_filemanager->filemanger->config->config.php 的 config.php 文件中传递所有 url 值(我在这里使用 json 文件使用 myconfig.php 文件变量值)。
请帮帮我。

DEMO_LINK = Using as Stand-alone file manager
DOCUMENTATION_LINK = DOCUMENTATION

我的目录结构如下

-www(root)
  -myweb
     -responsive_filemanager
  -wallpaper
     -sub_folder1
         img1
         img2 & more
     -sub_folder1
         img1
         img2 & more

我的配置文件

<?php
    $base_url =$_POST['base_url'];
    if($base_url != ""){
        $url=$base_url;
    }else{
        //$url=((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "https" : "http"). "://". @$_SERVER['HTTP_HOST']."/football/responsive_filemanager";
        $url =((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "https" : "http"). "://". @$_SERVER['HTTP_HOST'];
    }
    $myconfig=array(

        'main_url'=>$url,

        'upload_dir' => '/wallpaper/',

        'current_path' => '../wallpaper/',

        'thumbs_base_path' => '../thumbs/',

        'multiple_selection' => false,

        'multiple_selection_action_button' => false
    );
    $array_data[]=$myconfig;
    file_put_contents("config.json",json_encode($array_data));
    chmod("config.json",0777);
?>

【问题讨论】:

    标签: php jquery html plugins


    【解决方案1】:

    我认为你应该在这里改变

    'current_path' => '../../../wallpaper/'

    【讨论】:

    • 欢迎兄弟@Sunnymori
    猜你喜欢
    • 1970-01-01
    • 2018-02-21
    • 2017-04-16
    • 1970-01-01
    • 2017-05-07
    • 2018-07-10
    • 2020-03-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多