git.p6c8.net
/
jirafeau_mojo42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[FEATURE] Replace markers in templates
[jirafeau_mojo42.git]
/
f.php
diff --git
a/f.php
b/f.php
index e3f4420bb65a43331952da057e403911d6394115..a97718f9387a4ddd11f8d0563ee58ef4a11a57b3 100644
(file)
--- a/
f.php
+++ b/
f.php
@@
-19,10
+19,9
@@
*/
define ('JIRAFEAU_ROOT', dirname (__FILE__) . '/');
*/
define ('JIRAFEAU_ROOT', dirname (__FILE__) . '/');
-require (JIRAFEAU_ROOT . 'lib/lang.php');
-require (JIRAFEAU_ROOT . 'lib/config.original.php');
require (JIRAFEAU_ROOT . 'lib/settings.php');
require (JIRAFEAU_ROOT . 'lib/functions.php');
require (JIRAFEAU_ROOT . 'lib/settings.php');
require (JIRAFEAU_ROOT . 'lib/functions.php');
+require (JIRAFEAU_ROOT . 'lib/lang.php');
if (!isset ($_GET['h']) || empty ($_GET['h']))
{
if (!isset ($_GET['h']) || empty ($_GET['h']))
{
@@
-58,7
+57,7
@@
if (count ($link) == 0)
if (count ($link) == 0)
{
require (JIRAFEAU_ROOT.'lib/template/header.php');
if (count ($link) == 0)
{
require (JIRAFEAU_ROOT.'lib/template/header.php');
- echo '<div class="error"><p>' . t('Sorry, the requested file is not found
....' . $link_name
) .
+ echo '<div class="error"><p>' . t('Sorry, the requested file is not found
'
) .
'</p></div>';
require (JIRAFEAU_ROOT.'lib/template/footer.php');
exit;
'</p></div>';
require (JIRAFEAU_ROOT.'lib/template/footer.php');
exit;
@@
-180,6
+179,7
@@
if (!empty ($link['key']))
$password_challenged = true;
else
{
$password_challenged = true;
else
{
+ sleep (2);
require (JIRAFEAU_ROOT.'lib/template/header.php');
echo '<div class="error"><p>' . t('Access denied') .
'</p></div>';
require (JIRAFEAU_ROOT.'lib/template/header.php');
echo '<div class="error"><p>' . t('Access denied') .
'</p></div>';
patrick-canterino.de