Changed incorrect includes
This commit is contained in:
parent
9b3c89ac47
commit
5769c0facc
@ -23,7 +23,7 @@
|
||||
* \ingroup install
|
||||
* \brief Test if file conf can be modified and if does not exists, test if install process can create it
|
||||
*/
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
|
||||
$err = 0;
|
||||
$allowinstall = 0;
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
define('DONOTLOADCONF',1); // To avoid loading conf by file inc.php
|
||||
|
||||
include './inc.php';
|
||||
include 'inc.php';
|
||||
|
||||
$action=GETPOST('action');
|
||||
$setuplang=isset($_POST["selectlang"])?$_POST["selectlang"]:(isset($_GET["selectlang"])?$_GET["selectlang"]:'auto');
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
* \brief Create tables, primary keys, foreign keys, indexes and functions into database and then load reference data
|
||||
*/
|
||||
|
||||
include './inc.php';
|
||||
include 'inc.php';
|
||||
require_once $dolibarr_main_document_root.'/core/class/conf.class.php';
|
||||
require_once $dolibarr_main_document_root.'/core/lib/admin.lib.php';
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
*/
|
||||
|
||||
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
require_once $dolibarr_main_document_root.'/core/class/conf.class.php';
|
||||
require_once $dolibarr_main_document_root.'/core/lib/admin.lib.php';
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
* \brief Last page of upgrade or install process
|
||||
*/
|
||||
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
if (file_exists($conffile)) include_once $conffile;
|
||||
require_once $dolibarr_main_document_root . '/core/lib/admin.lib.php';
|
||||
require_once $dolibarr_main_document_root . '/core/lib/security.lib.php'; // for dol_hash
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
* \ingroup install
|
||||
* \brief Ask all informations required to build Dolibarr htdocs/conf/conf.php file (will be wrote on disk on next page)
|
||||
*/
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
|
||||
|
||||
$err=0;
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
* \brief Show page to select language. This is done only for a first installation.
|
||||
* For a reinstall this page redirect to page check.php
|
||||
*/
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
include_once '../core/class/html.form.class.php';
|
||||
include_once '../core/class/html.formadmin.class.php';
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
* \brief Show page phpinfo
|
||||
*/
|
||||
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
|
||||
phpinfo();
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
* \brief Run repair script
|
||||
*/
|
||||
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
if (file_exists($conffile)) include_once $conffile;
|
||||
require_once $dolibarr_main_document_root.'/core/lib/admin.lib.php';
|
||||
require_once $dolibarr_main_document_root.'/core/class/extrafields.class.php';
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
* \brief Run migration script
|
||||
*/
|
||||
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
if (! file_exists($conffile))
|
||||
{
|
||||
print 'Error: Dolibarr config file was not found. This may means that Dolibarr is not installed yet. Please call the page "/install/index.php" instead of "/install/upgrade.php").';
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
* \brief Upgrade some data
|
||||
*/
|
||||
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
if (! file_exists($conffile))
|
||||
{
|
||||
print 'Error: Dolibarr config file was not found. This may means that Dolibarr is not installed yet. Please call the page "/install/index.php" instead of "/install/upgrade.php").';
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
// Use its own include to not share the include of Dolibarr
|
||||
// This is a standalone feature with no information from Dolibarr to show
|
||||
// and no database access to do.
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
$uri=preg_replace('/^http(s?):\/\//i','',$dolibarr_main_url_root);
|
||||
$pos = strstr($uri, '/'); // $pos contient alors url sans nom domaine
|
||||
if ($pos == '/') $pos = ''; // si $pos vaut /, on le met a ''
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
error_reporting(0);
|
||||
|
||||
include_once './inc.php';
|
||||
include_once 'inc.php';
|
||||
$uri=preg_replace('/^http(s?):\/\//i','',$dolibarr_main_url_root);
|
||||
$pos = strstr($uri, '/'); // $pos contient alors url sans nom domaine
|
||||
if ($pos == '/') $pos = ''; // si $pos vaut /, on le met a ''
|
||||
|
||||
Loading…
Reference in New Issue
Block a user