Skip to content

Commit

Permalink
Finally resolved compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
netniV committed Oct 3, 2018
1 parent 10d668b commit 5114d9c
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions graph.php
Expand Up @@ -22,9 +22,9 @@
+-------------------------------------------------------------------------+
*/

require(__DIR__ . '/../../include/auth.php');
chdir(__DIR__ . '/../../');
require('include/auth.php');

chdir($config['base_path']);
if (!defined('REPORTIT_BASE_PATH')) {
include_once(__DIR__ . '/setup.php');
reportit_define_constants();
Expand Down
4 changes: 2 additions & 2 deletions items.php
Expand Up @@ -22,9 +22,9 @@
+-------------------------------------------------------------------------+
*/

require_once(__DIR__ . '/../../include/auth.php');
chdir(__DIR__ . '/../../');
require('include/auth.php');

chdir($config['base_path']);
if (!defined('REPORTIT_BASE_PATH')) {
include_once(__DIR__ . '/setup.php');
reportit_define_constants();
Expand Down
4 changes: 2 additions & 2 deletions measurands.php
Expand Up @@ -22,9 +22,9 @@
+-------------------------------------------------------------------------+
*/

require_once(__DIR__ . '/../../include/auth.php');
chdir(__DIR__ . '/../../');
require('include/auth.php');

chdir($config['base_path']);
if (!defined('REPORTIT_BASE_PATH')) {
include_once(__DIR__ . '/setup.php');
reportit_define_constants();
Expand Down
4 changes: 2 additions & 2 deletions reports.php
Expand Up @@ -22,9 +22,9 @@
+-------------------------------------------------------------------------+
*/

require_once(__DIR__ . '/../../include/auth.php');
chdir(__DIR__ . '/../../');
require('include/auth.php');

chdir($config['base_path']);
if (!defined('REPORTIT_BASE_PATH')) {
include_once(__DIR__ . '/setup.php');
reportit_define_constants();
Expand Down
4 changes: 2 additions & 2 deletions rrdlist.php
Expand Up @@ -22,9 +22,9 @@
+-------------------------------------------------------------------------+
*/

require_once(__DIR__ . '/../../include/auth.php');
chdir(__DIR__ . '/../../');
require('include/auth.php');

chdir($config['base_path']);
if (!defined('REPORTIT_BASE_PATH')) {
include_once(__DIR__ . '/setup.php');
reportit_define_constants();
Expand Down
4 changes: 2 additions & 2 deletions run.php
Expand Up @@ -22,9 +22,9 @@
+-------------------------------------------------------------------------+
*/

require_once(__DIR__ . '/../../include/auth.php');
chdir(__DIR__ . '/../../');
require('include/auth.php');

chdir($config['base_path']);
if (!defined('REPORTIT_BASE_PATH')) {
include_once(__DIR__ . '/setup.php');
reportit_define_constants();
Expand Down
4 changes: 2 additions & 2 deletions templates.php
Expand Up @@ -22,9 +22,9 @@
+-------------------------------------------------------------------------+
*/

require_once(__DIR__ . '/../../include/auth.php');
chdir(__DIR__ . '/../../');
require('include/auth.php');

chdir($config['base_path']);
if (!defined('REPORTIT_BASE_PATH')) {
include_once(__DIR__ . '/setup.php');
reportit_define_constants();
Expand Down
4 changes: 2 additions & 2 deletions variables.php
Expand Up @@ -22,9 +22,9 @@
+-------------------------------------------------------------------------+
*/

require_once(__DIR__ . '/../../include/auth.php');
chdir(__DIR__ . '/../../');
require_once('include/auth.php');

chdir($config['base_path']);
if (!defined('REPORTIT_BASE_PATH')) {
include_once(__DIR__ . '/setup.php');
reportit_define_constants();
Expand Down
4 changes: 2 additions & 2 deletions view.php
Expand Up @@ -24,9 +24,9 @@

$guest_account = true;

require_once(__DIR__ . '/../../include/auth.php');
chdir(__DIR__ . '/../../');
require_once('include/auth.php');

chdir($config['base_path']);
if (!defined('REPORTIT_BASE_PATH')) {
include_once(__DIR__ . '/setup.php');
reportit_define_constants();
Expand Down

0 comments on commit 5114d9c

Please sign in to comment.