Skip to content

Commit

Permalink
Index updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jdarwood007 committed Jan 22, 2024
1 parent 0d9e952 commit 22a6dac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Languages/en_US/index.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

// Try to handle it with the upper level index.php. (it should know what to do.)
if (file_exists(dirname(dirname(__FILE__)) . '/index.php'))
include(dirname(dirname(__FILE__)) . '/index.php');
if (file_exists(dirname(__DIR__) . '/index.php'))
include (dirname(__DIR__) . '/index.php');
else
exit;

Expand Down
4 changes: 2 additions & 2 deletions Languages/index.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

// Try to handle it with the upper level index.php. (it should know what to do.)
if (file_exists(dirname(dirname(__FILE__)) . '/index.php'))
include(dirname(dirname(__FILE__)) . '/index.php');
if (file_exists(dirname(__DIR__) . '/index.php'))
include (dirname(__DIR__) . '/index.php');
else
exit;

Expand Down

0 comments on commit 22a6dac

Please sign in to comment.