update
This commit is contained in:
30
core/config/Admin/path.config.php
Normal file
30
core/config/Admin/path.config.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
|
||||
//URL BEZ PREFIKSU http:// ORAZ BEZ KONCOWEGU UKOSNIKA
|
||||
define ('APP_URL', 'zurawik.pl/Admin');
|
||||
define ('APP_STATIC_URL', 'zurawik.pl/Static');
|
||||
define ('APP_SITE_URL', 'zurawik.pl');
|
||||
|
||||
//OD TEGO MIEJSA NIC NIE ZMIENIAMY!!
|
||||
define ('DS', DIRECTORY_SEPARATOR);
|
||||
define ('PATH_CONFIG', pathinfo(__FILE__, PATHINFO_DIRNAME ) . DS);
|
||||
define ('PATH_CORE', PATH_CONFIG . '..' . DS . '..' . DS);
|
||||
define ('PATH_MAIN_APP', PATH_CONFIG . '..' . DS . '..' . DS . '..' . DS . 'Admin' . DS);
|
||||
define ('PATH_STATIC_CONTENT', PATH_CONFIG . '..' . DS . '..' . DS . '..' . DS . 'Static' . DS);
|
||||
define ('PATH_SMARTY_COMPILE', PATH_MAIN_APP . 'temp' . DS . 'compile' . DS );
|
||||
define ('PATH_SMARTY_CACHE', PATH_MAIN_APP . 'temp' . DS . 'cache' . DS);
|
||||
define ('PATH_MODEL_TMP', PATH_MAIN_APP . 'temp' . DS . 'model' . DS );
|
||||
define ('PATH_SITE_CACHE', PATH_CORE . 'Strona' . DS . 'temp' . DS . 'cache' . DS);
|
||||
define ('PATH_SMARTY_TEMPLATE', PATH_MAIN_APP . 'template' . DS);
|
||||
define ('PATH_SMARTY_PLUGINS', PATH_CORE . 'plugins' . DS . 'Smarty' . DS);
|
||||
define ('DBCACHE_PATH', PATH_MAIN_APP . 'temp' . DS . 'dbcache' . DS);
|
||||
define ('URL_MAIN', 'https://' . APP_URL);
|
||||
define ('URL_STATIC_CONTENT', 'https://' . APP_STATIC_URL);
|
||||
define ('URL_SITE_MAIN', 'https://' . APP_SITE_URL);
|
||||
define ('LOG4PHP_DIR', PATH_CORE . 'lib' . DS . 'log4php' . DS . 'src' . DS . 'php' . DS);
|
||||
define ('LOG4PHP_CONFIGURATION', PATH_CORE . 'config' . DS . 'Log4PHPConfig.xml');
|
||||
|
||||
require_once(LOG4PHP_DIR . 'Logger.php');
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user