Re: base_dir Error

  •  02-16-2012, 6:45 AM

    Re: base_dir Error

    Hi ongun23,
     
    Please follow the steps below to set the TempDirectory
     
    1. Open "cuteeditor_files\Dialogs\phpuploader\include_phpuploader.php",
     
    2. Search function "InternalGetTempDirectory" and add temporary directory setting here:
        function InternalGetTempDirectory()
     {
      $dir=$this->TempDirectory;
      
      $dir="d:/temp1/temp1";//please change it to your actual temporary directory
        
      if($dir==null)
       $dir=PhpUploader_GetSystemTempFolder();
      $dir=str_replace("\\","/",$dir);
      if(substr($dir,strlen($dir)-1,1)=="/")
      {
       $dir=substr($dir,0,strlen($dir)-1);
      }
      return $dir;
     }
    3.   Test it again.
     
    Regards,
     
    Ken 
     
View Complete Thread