[-] BO : Fixed bug #PSCFV-2288. _PS_ADMIN_DIR_ was not defined

This commit is contained in:
jObregon committed 2012-05-19 22:03:35 +00:00
1 parent f6414739c7
commit b85619acdd
22 files changed
+45 -20

No files matched your search

@@ -1,6 +1,7 @@
<?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('../init.php');
?>
@@ -6,6 +6,8 @@
* @since 22/May/2007
*
*/
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
@@ -6,7 +6,8 @@
* @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('../init.php');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
+2 -1
View File
@@ -6,7 +6,8 @@
* @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('../init.php');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
@@ -6,7 +6,8 @@
* @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('../init.php');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
+2 -1
View File
@@ -6,7 +6,8 @@
* @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('../init.php');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
+2 -1
View File
@@ -6,7 +6,8 @@
* @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('../init.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");
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
$error = '';
@@ -6,7 +6,8 @@
* @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('../init.php');
@@ -1,12 +1,14 @@
<?php
/**
/**
* 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)
* @link www.phpletter.com
* @since 22/May/2007
*
*/
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
@@ -1,4 +1,6 @@
<?php
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
/**
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
/**
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
/**
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
/**
+2 -1
View File
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
/**
+2 -1
View File
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
/**
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
+2 -1
View File
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
/**
+2 -1
View File
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
/**
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
/**
@@ -1,5 +1,6 @@
<?php
define('_PS_ADMIN_DIR_', getcwd());
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
/**