mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 10:04:35 +02:00
Improved detection of deprecated functions/methods and display in DEBUG mode: deprecated.
This commit is contained in:
@@ -430,6 +430,8 @@
|
||||
*/
|
||||
public function get_file_info($path_to_file, $imgcheck = true, $auto_fix_ext = true)
|
||||
{
|
||||
trigger_error('<b>'.__METHOD__.' is deprecated.</b> Use getFileInfo() instead.', E_USER_DEPRECATED); // NO LAN
|
||||
|
||||
return $this->getFileInfo($path_to_file, $imgcheck, $auto_fix_ext);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user