Elérhető az SMF 2.0 RC3 publikus változata!
2482: // First, let's check permissions!2483: foreach ($package_cache as $filename => $data)2484: {2485: if (isset($package_ftp))2486: $ftp_file = strtr($filename, array($_SESSION['pack_ftp']['root'] => ''));2487: 2488: if (!file_exists($filename) && isset($package_ftp))2489: $package_ftp->create_file($ftp_file);2490: elseif (!file_exists($filename))2491: @touch($filename);2492: 2493: package_chmod($filename);2494: 2495: $fp = fopen($filename, 'r+');2496: if (!$fp && !$trash)2497: {2498: // We should have package_chmod()'d them before, no?!2499: trigger_error('package_flush_cache(): some files are still not writable', E_USER_WARNING);2500: return;2501: }==>2502: fclose($fp);2503: }2504: 2505: if ($trash)2506: {2507: $package_cache = array();2508: return;2509: }2510: 2511: foreach ($package_cache as $filename => $data)2512: {2513: $fp = fopen($filename, in_array(substr($filename, -3), $text_filetypes) ? 'w' : 'wb');2514: fwrite($fp, $data);2515: fclose($fp);2516: }2517: 2518: $package_cache = array();2519: }2520: 2521: // Try to make a file writable. Return true if it worked, false if it didn't.2522: function package_chmod($filename, $perm_state = 'writable', $track_change = false)
én is probáltam telepiteni a Thank-O-Matic 2.0 RC1.3 de nem sikerült,ezt irja :Egy hiba történt! Nem tölthetsz le vagy telepíthetsz új csomagokat, mivel a Packages könyvtár vagy annak egy fájlja nem írható!de minden 777 re van állitva. nem értem mi lehet a gond ?De mondjuk ez angol magyarba nem tudtok véletlen ??