Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 9ce4b7c3 authored by Woraprat's avatar Woraprat
Browse files

update path

parent 05b3a3d8
No related branches found
No related tags found
No related merge requests found
......@@ -267,10 +267,10 @@ class Project extends Exhibition_Controller {
$path_save_image = '';
if($graduation != 4){
$path_save_image = getcwd().'/project/year_'.$year.'/y'.$graduation.'/'.$select_text.'/';
$path = '/project/year_'.$year.'/y'.$graduation.'/'.$select_text.'/';
$path = 'project/year_'.$year.'/y'.$graduation.'/'.$select_text.'/';
}else{
$path_save_image = getcwd().'/project/year_'.$year.'/y'.$graduation.'/'.$_SESSION['student_id'].'/';
$path = '/project/year_'.$year.'/y'.$graduation.'/'.$_SESSION['student_id'].'/';
$path = 'project/year_'.$year.'/y'.$graduation.'/'.$_SESSION['student_id'].'/';
}
if($data['message'] == true){
if($graduation == 2){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment