avoid instantiating SplFileInfo objects
This commit is contained in:
parent
a712e41cd8
commit
9d36f047bd
|
@ -3,7 +3,7 @@
|
||||||
<pre>ECDSA fingerprint: SHA256:R3qNfKIF3IiXhKCbFX6rCKl73yzexi9Wodsow6XFres</pre>
|
<pre>ECDSA fingerprint: SHA256:R3qNfKIF3IiXhKCbFX6rCKl73yzexi9Wodsow6XFres</pre>
|
||||||
<a href="https://tildegit.org/team/site">site source</a>
|
<a href="https://tildegit.org/team/site">site source</a>
|
||||||
—
|
—
|
||||||
<a href="https://tildegit.org/team/site/src/branch/master/<?=str_ireplace("/var/www/tilde.team/","",$filepath)?>">page source</a>
|
<a href="https://tildegit.org/team/site/src/branch/master/<?=str_ireplace("/var/www/tilde.team/", "", $filepath)?>">page source</a>
|
||||||
—
|
—
|
||||||
<a href="https://bhh.sh/donate/">donate</a>
|
<a href="https://bhh.sh/donate/">donate</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
$path = new SplFileInfo(__FILE__);
|
$filepath = __FILE__;
|
||||||
$filepath = $path->getRealPath();
|
|
||||||
include 'header.php';
|
include 'header.php';
|
||||||
require __DIR__.'/vendor/autoload.php';
|
require __DIR__.'/vendor/autoload.php';
|
||||||
$parser = Tildeverse\Wiki\Parser::factory();
|
$parser = Tildeverse\Wiki\Parser::factory();
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
$path = new SplFileInfo(__FILE__);
|
$filepath = __FILE__;
|
||||||
$filepath = $path->getRealPath();
|
|
||||||
require __DIR__.'/../vendor/autoload.php';
|
require __DIR__.'/../vendor/autoload.php';
|
||||||
|
|
||||||
$additional_head = "
|
$additional_head = "
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
$path = new SplFileInfo(__FILE__);
|
$filepath = __FILE__;
|
||||||
$filepath = $path->getRealPath();
|
|
||||||
include __DIR__.'/../header.php';
|
include __DIR__.'/../header.php';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
$path = new SplFileInfo(__FILE__);
|
$filepath = __FILE__;
|
||||||
$filepath = $path->getRealPath();
|
|
||||||
require __DIR__.'/../vendor/autoload.php';
|
require __DIR__.'/../vendor/autoload.php';
|
||||||
require_once "email/smtp.php";
|
require_once "email/smtp.php";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
$path = new SplFileInfo(__FILE__);
|
$filepath = __FILE__;
|
||||||
$filepath = $path->getRealPath();
|
|
||||||
include __DIR__.'/../header.php';
|
include __DIR__.'/../header.php';
|
||||||
|
|
||||||
$online_users = shell_exec("online-users");
|
$online_users = shell_exec("online-users");
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
$path = new SplFileInfo(__FILE__);
|
$filepath = __FILE__;
|
||||||
$filepath = $path->getRealPath();
|
|
||||||
require __DIR__.'/../vendor/autoload.php';
|
require __DIR__.'/../vendor/autoload.php';
|
||||||
|
|
||||||
$additional_head = "
|
$additional_head = "
|
||||||
|
|
Loading…
Reference in New Issue