mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/14180] Use unix line endings in type_foo
PHPBB3-14180
This commit is contained in:
parent
9df76ac987
commit
7f3dfde163
1 changed files with 31 additions and 31 deletions
|
@ -1,31 +1,31 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* This file is part of the phpBB Forum Software package.
|
* This file is part of the phpBB Forum Software package.
|
||||||
*
|
*
|
||||||
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
||||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||||
*
|
*
|
||||||
* For full copyright and license information, please see
|
* For full copyright and license information, please see
|
||||||
* the docs/CREDITS.txt file.
|
* the docs/CREDITS.txt file.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace phpbb\files\types;
|
namespace phpbb\files\types;
|
||||||
|
|
||||||
class foo extends \phpbb\files\types\remote
|
class foo extends \phpbb\files\types\remote
|
||||||
{
|
{
|
||||||
static public $tempnam_path;
|
static public $tempnam_path;
|
||||||
}
|
}
|
||||||
|
|
||||||
function tempnam($one, $two)
|
function tempnam($one, $two)
|
||||||
{
|
{
|
||||||
if (empty(foo::$tempnam_path))
|
if (empty(foo::$tempnam_path))
|
||||||
{
|
{
|
||||||
return \tempnam($one, $two);
|
return \tempnam($one, $two);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return foo::$tempnam_path;
|
return foo::$tempnam_path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue