// employee avatar
This commit is contained in:
+38
-34
@@ -55,44 +55,48 @@ if (!defined('PHP_VERSION_ID'))
|
||||
|
||||
/* Directories */
|
||||
define('_PS_ROOT_DIR_', realpath($currentDir.'/..'));
|
||||
define('_PS_CLASS_DIR_', _PS_ROOT_DIR_.'/classes/');
|
||||
define('_PS_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/');
|
||||
define('_PS_FRONT_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/front/');
|
||||
define('_PS_ADMIN_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/admin/');
|
||||
define('_PS_OVERRIDE_DIR_', _PS_ROOT_DIR_.'/override/');
|
||||
define('_PS_TRANSLATIONS_DIR_', _PS_ROOT_DIR_.'/translations/');
|
||||
define('_PS_DOWNLOAD_DIR_', _PS_ROOT_DIR_.'/download/');
|
||||
define('_PS_MAIL_DIR_', _PS_ROOT_DIR_.'/mails/');
|
||||
define('_PS_PDF_DIR_', _PS_ROOT_DIR_.'/pdf/');
|
||||
define('_PS_ALL_THEMES_DIR_', _PS_ROOT_DIR_.'/themes/');
|
||||
define('_PS_IMG_DIR_', _PS_ROOT_DIR_.'/img/');
|
||||
if (!defined('_PS_MODULE_DIR_'))
|
||||
define('_PS_MODULE_DIR_', _PS_ROOT_DIR_.'/modules/');
|
||||
define('_PS_CAT_IMG_DIR_', _PS_IMG_DIR_.'c/');
|
||||
define('_PS_STORE_IMG_DIR_', _PS_IMG_DIR_.'st/');
|
||||
define('_PS_PROD_IMG_DIR_', _PS_IMG_DIR_.'p/');
|
||||
define('_PS_SCENE_IMG_DIR_', _PS_IMG_DIR_.'scenes/');
|
||||
define('_PS_SCENE_THUMB_IMG_DIR_', _PS_IMG_DIR_.'scenes/thumbs/');
|
||||
define('_PS_MANU_IMG_DIR_', _PS_IMG_DIR_.'m/');
|
||||
define('_PS_SHIP_IMG_DIR_', _PS_IMG_DIR_.'s/');
|
||||
define('_PS_ORDER_STATE_IMG_DIR_', _PS_IMG_DIR_.'os/');
|
||||
define('_PS_LANG_IMG_DIR_', _PS_IMG_DIR_.'l/');
|
||||
define('_PS_SUPP_IMG_DIR_', _PS_IMG_DIR_.'su/');
|
||||
define('_PS_COL_IMG_DIR_', _PS_IMG_DIR_.'co/');
|
||||
define('_PS_TMP_IMG_DIR_', _PS_IMG_DIR_.'tmp/');
|
||||
define('_PS_UPLOAD_DIR_', _PS_ROOT_DIR_.'/upload/');
|
||||
define('_PS_TOOL_DIR_', _PS_ROOT_DIR_.'/tools/');
|
||||
define('_PS_GEOIP_DIR_', _PS_TOOL_DIR_.'geoip/');
|
||||
define('_PS_SWIFT_DIR_', _PS_TOOL_DIR_.'swift/');
|
||||
define('_PS_GENDERS_DIR_', _PS_IMG_DIR_.'genders/');
|
||||
define('_PS_FPDF_PATH_', _PS_TOOL_DIR_.'fpdf/'); // @deprecated will be removed in 1.6
|
||||
define('_PS_TCPDF_PATH_', _PS_TOOL_DIR_.'tcpdf/');
|
||||
define('_PS_TAASC_PATH_', _PS_TOOL_DIR_.'taasc/');
|
||||
define('_PS_PEAR_XML_PARSER_PATH_', _PS_TOOL_DIR_.'pear_xml_parser/');
|
||||
define('_PS_CACHE_DIR_', _PS_ROOT_DIR_.'/cache/');
|
||||
/* BO THEMES */
|
||||
if (defined('_PS_ADMIN_DIR_'))
|
||||
define('_PS_BO_ALL_THEMES_DIR_', _PS_ADMIN_DIR_.'/themes/');
|
||||
define('_PS_CACHE_DIR_', _PS_ROOT_DIR_.'/cache/');
|
||||
define('_PS_CLASS_DIR_', _PS_ROOT_DIR_.'/classes/');
|
||||
define('_PS_DOWNLOAD_DIR_', _PS_ROOT_DIR_.'/download/');
|
||||
define('_PS_MAIL_DIR_', _PS_ROOT_DIR_.'/mails/');
|
||||
if (!defined('_PS_MODULE_DIR_'))
|
||||
define('_PS_MODULE_DIR_', _PS_ROOT_DIR_.'/modules/');
|
||||
define('_PS_OVERRIDE_DIR_', _PS_ROOT_DIR_.'/override/');
|
||||
define('_PS_PDF_DIR_', _PS_ROOT_DIR_.'/pdf/');
|
||||
define('_PS_TRANSLATIONS_DIR_', _PS_ROOT_DIR_.'/translations/');
|
||||
define('_PS_UPLOAD_DIR_', _PS_ROOT_DIR_.'/upload/');
|
||||
|
||||
define('_PS_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/');
|
||||
define('_PS_ADMIN_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/admin/');
|
||||
define('_PS_FRONT_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/front/');
|
||||
|
||||
define('_PS_TOOL_DIR_', _PS_ROOT_DIR_.'/tools/');
|
||||
define('_PS_FPDF_PATH_', _PS_TOOL_DIR_.'fpdf/'); // @deprecated will be removed in 1.6
|
||||
define('_PS_GEOIP_DIR_', _PS_TOOL_DIR_.'geoip/');
|
||||
define('_PS_PEAR_XML_PARSER_PATH_', _PS_TOOL_DIR_.'pear_xml_parser/');
|
||||
define('_PS_SWIFT_DIR_', _PS_TOOL_DIR_.'swift/');
|
||||
define('_PS_TAASC_PATH_', _PS_TOOL_DIR_.'taasc/');
|
||||
define('_PS_TCPDF_PATH_', _PS_TOOL_DIR_.'tcpdf/');
|
||||
|
||||
define('_PS_IMG_DIR_', _PS_ROOT_DIR_.'/img/');
|
||||
define('_PS_CAT_IMG_DIR_', _PS_IMG_DIR_.'c/');
|
||||
define('_PS_COL_IMG_DIR_', _PS_IMG_DIR_.'co/');
|
||||
define('_PS_EMPLOYEE_IMG_DIR_', _PS_IMG_DIR_.'e/');
|
||||
define('_PS_GENDERS_DIR_', _PS_IMG_DIR_.'genders/');
|
||||
define('_PS_LANG_IMG_DIR_', _PS_IMG_DIR_.'l/');
|
||||
define('_PS_MANU_IMG_DIR_', _PS_IMG_DIR_.'m/');
|
||||
define('_PS_ORDER_STATE_IMG_DIR_', _PS_IMG_DIR_.'os/');
|
||||
define('_PS_PROD_IMG_DIR_', _PS_IMG_DIR_.'p/');
|
||||
define('_PS_SCENE_IMG_DIR_', _PS_IMG_DIR_.'scenes/');
|
||||
define('_PS_SCENE_THUMB_IMG_DIR_', _PS_IMG_DIR_.'scenes/thumbs/');
|
||||
define('_PS_SHIP_IMG_DIR_', _PS_IMG_DIR_.'s/');
|
||||
define('_PS_STORE_IMG_DIR_', _PS_IMG_DIR_.'st/');
|
||||
define('_PS_SUPP_IMG_DIR_', _PS_IMG_DIR_.'su/');
|
||||
define('_PS_TMP_IMG_DIR_', _PS_IMG_DIR_.'tmp/');
|
||||
|
||||
/* settings php */
|
||||
define('_PS_TRANS_PATTERN_', '(.*[^\\\\])');
|
||||
|
||||
Reference in New Issue
Block a user