mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 22:33:55 -07:00
рефакторинг
This commit is contained in:
parent
7a9dc820c3
commit
a35e757b5e
3 changed files with 1 additions and 5 deletions
|
@ -940,7 +940,7 @@ class Template
|
||||||
* Compiles the given string of code, and returns the result in a string.
|
* Compiles the given string of code, and returns the result in a string.
|
||||||
* If "do_not_echo" is true, the returned code will not be directly executable,
|
* If "do_not_echo" is true, the returned code will not be directly executable,
|
||||||
* but can be used as part of a variable assignment for use in assign_code_from_handle().
|
* but can be used as part of a variable assignment for use in assign_code_from_handle().
|
||||||
* This function isn't used and kept only for compatibility with original template.php
|
* This function isn't used and kept only for compatibility with original Template.php
|
||||||
*/
|
*/
|
||||||
function compile($code, $do_not_echo = false, $retvar = '')
|
function compile($code, $do_not_echo = false, $retvar = '')
|
||||||
{
|
{
|
|
@ -1,9 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (!defined('BB_ROOT'))
|
|
||||||
{
|
|
||||||
die(basename(__FILE__));
|
|
||||||
}
|
|
||||||
|
|
||||||
class Upload
|
class Upload
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue