امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
If an error occurs during an attempt to read the install-lock.php file, XenForo handles the exception gracefully and returns false, as shown in the code below:
PHP:
Read more
PHP:
کد:
public static function installLockExists()
{
try
{
// If this path doesn't exist, then this will throw an exception. We need to handle this elsewhere.
return \XF::fs()->has('internal-data://install-lock.php');
}
catch (\Exception $e)
{
return false...
Read more
