[-] BO : Fixed bug #PSCFV-2288. _PS_ADMIN_DIR_ was not defined
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
* @since 22/May/2007
|
* @since 22/May/2007
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
* @since 22/April/2007
|
* @since 22/April/2007
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
* @since 22/April/2007
|
* @since 22/April/2007
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
* @since 22/May/2007
|
* @since 22/May/2007
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
* @since 22/May/2007
|
* @since 22/May/2007
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
* @since 22/May/2007
|
* @since 22/May/2007
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?
|
<?
|
||||||
include_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
include_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
$error = '';
|
$error = '';
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
* @since 22/May/2007
|
* @since 22/May/2007
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the php script used to get the list of file or folders under a specific folder
|
* the php script used to get the list of file or folders under a specific folder
|
||||||
* @author Logan Cai (cailongqun [at] yahoo [dot] com [dot] cn)
|
* @author Logan Cai (cailongqun [at] yahoo [dot] com [dot] cn)
|
||||||
* @link www.phpletter.com
|
* @link www.phpletter.com
|
||||||
* @since 22/May/2007
|
* @since 22/May/2007
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
if (!defined('_PS_ADMIN_DIR_'))
|
||||||
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
require_once('../../config/config.inc.php');
|
require_once('../../config/config.inc.php');
|
||||||
require_once('../init.php');
|
require_once('../init.php');
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user