MMC alpha ready

This commit is contained in:
Александр Бабкин
2022-07-14 17:00:24 +03:00
parent 58c92adfbc
commit ba97a6afc1
10 changed files with 154 additions and 144 deletions

View File

@@ -184,18 +184,18 @@ class AUKController extends Controller
*/
public function load(Request $request)
{
Log::alert("In load");
// Log::alert("In load");
$project_id = $request->session()->get('project_id');
$i = 0;
while ($request->input('auk_name_' . $i) !== null) {
Log::alert("Loading " . $i);
// Log::alert("Loading " . $i);
$auk_name = $request->input('auk_name_' . $i);
$auk_path = $request->input('auk_path_' . $i);
$image_dir = $request->input('image_dir_' . $i);
Log::alert("auk_name \"" . $auk_name . "\"");
Log::alert("auk_path \"" . $auk_path . "\"");
Log::alert("image_dir \"" . $image_dir . "\"");
// Log::alert("auk_name \"" . $auk_name . "\"");
// Log::alert("auk_path \"" . $auk_path . "\"");
// Log::alert("image_dir \"" . $image_dir . "\"");
AUK::create([
'project_id' => $project_id,