rambo hai 1 ano
pai
achega
cbd054f637
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/admin/controller/AdminControl.php

+ 1 - 1
app/admin/controller/AdminControl.php

@@ -29,7 +29,7 @@ class AdminControl extends BaseController
     {
         $config_list = rkcache('config', true);
         config($config_list, 'ds_config');
-        $myfile = fopen(base_path() . "public/newfile.txt", "w") or die("Unable to open file!");
+        $myfile = fopen(base_path() . "../public/newfile.txt", "w") or die("Unable to open file!");
         $txt = "Bill Gates\n";
         fwrite($myfile, $txt);
         fclose($myfile);