private static function PHPExcel_Reader_Excel2007::dir_add in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2007.php \PHPExcel_Reader_Excel2007::dir_add()
1 call to PHPExcel_Reader_Excel2007::dir_add()
- PHPExcel_Reader_Excel2007::load in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2007.php - * Loads PHPExcel from file * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2007.php, line 2038
Class
- PHPExcel_Reader_Excel2007
- PHPExcel_Reader_Excel2007
Code
private static function dir_add($base, $add) {
return preg_replace('~[^/]+/\\.\\./~', '', dirname($base) . "/{$add}");
}