UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
lms_2188b2b4a43a
/
app
/
Services
/
Import
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
CSVService.php
<?php namespace EstudioLMS\Services\Import; /** * Class ImportService * @package EstudioLMS\Services\Import */ class CSVService { /** * ImportService constructor. */ public function __construct() { } /** * @param string $file * @return int */ public function countRegisters(string $file) { $fp = file($file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); return count($fp); } public function import(string $file, bool $registerMail, bool $enrollCourse, bool $enrollMail, int $courseId = null, int $planId = null) { if ($enrollCourse && (is_null($courseId) || is_null($planId) || empty($courseId) || empty($planId))) return 'Não foi definido o curso e/ou plano para matrícula '; return 'Rodou legal'; } }
Copyright © 2026 - UnknownSec