Correct path of project folders
This commit is contained in:
@@ -114,7 +114,7 @@ class Projects extends CI_Controller {
|
|||||||
|
|
||||||
if (isset($data['project_id'])) {
|
if (isset($data['project_id'])) {
|
||||||
$this->load->helper('directory');
|
$this->load->helper('directory');
|
||||||
$projectPath = FCPATH.'uploads/'.$this->session->userdata('user_id').'/'.$data['project_id'].'/';
|
$projectPath = FCPATH . 'uploads/' . $data['project_id'] . '/';
|
||||||
mkdirs($projectPath);
|
mkdirs($projectPath);
|
||||||
|
|
||||||
if ($modelUploaded) {
|
if ($modelUploaded) {
|
||||||
|
|||||||
Reference in New Issue
Block a user