test file path
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace App\Models;
|
||||
|
||||
use CodeIgniter\Model;
|
||||
|
||||
class UploadManager extends Model
|
||||
{
|
||||
|
||||
public $savePath ="//10.0.0.40/wrenchboard/TEST/";
|
||||
public function reciveUpload($in,$out){
|
||||
|
||||
mkdir($this->savePath.rand(10000,999999), 0777, true);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user