Vergleich admin/modules/config/languages.php - 1.6.5 - 1.6.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: languages.php 5297 2010-12-28 22:01:14Z Tomm $

 * $Id$

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 270Zeile 270
	$table = new Table;

// Check if file is writable, before allowing submission

	$table = new Table;

// Check if file is writable, before allowing submission

	$no_write = 0;

	$no_write = null;

	
foreach($quick_phrases as $file => $phrases)
{

	
foreach($quick_phrases as $file => $phrases)
{

Zeile 359Zeile 359
		{
$editwithfile = $editwithfolder.$file;
}

		{
$editwithfile = $editwithfolder.$file;
}

		
if(!file_exists($editfile) || ($editwithfile && !file_exists($editwithfile)))


if(!file_exists($editfile) || ($editwithfile && !file_exists($editwithfile)) || $file == '.' || $file == '..')

		{
flash_message($lang->error_invalid_file, 'error');
admin_redirect("index.php?module=config-languages");

		{
flash_message($lang->error_invalid_file, 'error');
admin_redirect("index.php?module=config-languages");

Zeile 451Zeile 451
		}

// Check if file is writable, before allowing submission

		}

// Check if file is writable, before allowing submission

		$no_write = 0;

		$no_write = null;

		if(!is_writable($editfile))
{
$no_write = 1;

		if(!is_writable($editfile))
{
$no_write = 1;