Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit 48172bb7 authored by Gary Allan's avatar Gary Allan
Browse files

Bugfix: Load functions/functions.php at start of file

Fixes #3764
parent 0e3e41cb
No related branches found
No related tags found
No related merge requests found
<?php
include(dirname(__FILE__)."/../../../../functions/functions.php");
/*
* CSV import verify + parse data
*************************************************/
......@@ -8,9 +9,6 @@ $filename = $_FILES['file']['name'];
$filename = pf_explode(".", $filename);
$filename = end($filename);
/* get settings */
include(dirname(__FILE__)."/../../../../functions/functions.php");
# Don't corrupt output with php errors!
disable_php_errors();
......
<?php
include(dirname(__FILE__)."/../../../functions/functions.php");
/*
* CSV import verify + parse data
*************************************************/
......@@ -8,9 +10,6 @@ $filename = $_FILES['file']['name'];
$filename = pf_explode(".", $filename);
$filename = end($filename);
/* get settings */
include(dirname(__FILE__)."/../../../functions/functions.php");
# Don't corrupt output with php errors!
disable_php_errors();
......
<?php
/* global and missing functions */
require('global_functions.php');
require_once('global_functions.php');
/* Enable output buffering */
require_once( dirname(__FILE__) . '/output_buffering.php' );
......@@ -95,4 +95,4 @@ $Rewrite = new Rewrite ();
$_GET = $Rewrite->get_url_params ();
/* get version */
include('version.php');
require_once('version.php');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment