service пре 10 месеци
родитељ
комит
ee7feef3d3

+ 0 - 32
dump/modx_access_actiondom.sql

@@ -1,32 +0,0 @@
-/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
-/*!40103 SET TIME_ZONE='+00:00' */;
-/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
-/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
-/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-DROP TABLE IF EXISTS `modx_access_actiondom`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!50503 SET character_set_client = utf8mb4 */;
-CREATE TABLE `modx_access_actiondom` (
-  `id` int unsigned NOT NULL AUTO_INCREMENT,
-  `target` varchar(100) NOT NULL DEFAULT '',
-  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
-  `principal` int unsigned NOT NULL DEFAULT '0',
-  `authority` int unsigned NOT NULL DEFAULT '9999',
-  `policy` int unsigned NOT NULL DEFAULT '0',
-  PRIMARY KEY (`id`),
-  KEY `target` (`target`),
-  KEY `principal_class` (`principal_class`),
-  KEY `principal` (`principal`),
-  KEY `authority` (`authority`),
-  KEY `policy` (`policy`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
-/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
-
-/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
-/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
-/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
-/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-

+ 0 - 25
dump/modx_access_actions.sql

@@ -1,25 +0,0 @@
-/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
-/*!40103 SET TIME_ZONE='+00:00' */;
-/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
-/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
-/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-DROP TABLE IF EXISTS `modx_access_actions`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!50503 SET character_set_client = utf8mb4 */;
-CREATE TABLE `modx_access_actions` (
-  `id` int unsigned NOT NULL AUTO_INCREMENT,
-  `target` varchar(100) NOT NULL DEFAULT '',
-  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
-  `principal` int unsigned NOT NULL DEFAULT '0',
-  `authority` int unsigned NOT NULL DEFAULT '9999',
-  `policy` int unsigned NOT NULL DEFAULT '0',
-  PRIMARY KEY (`id`),
-  KEY `target` (`target`),
-  KEY `principal_class` (`principal_class`),
-  KEY `principal` (`principal`),
-  KEY `authority` (`authority`),
-  KEY `policy` (`policy`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;
-/*!40101 SET character_set_client = @saved_cs_client */;
-

+ 91 - 91
htdocs/zdravclinic.ru/core/config/config.inc.php

@@ -1,91 +1,91 @@
-<?php
-/**$database_password = 'HGdTjTBg%';
- *  MODX Configuration file
- */
-$database_type = 'mysql';
-$database_server = 'localhost';
-$database_user = 'zdravclinic';
-/*$database_password = 'ND7p*fya';*/
-$database_password = 'aJ1pE2gG2w';
-$database_connection_charset = 'utf8';
-$dbase = 'zdravclinic';
-$table_prefix = 'modx_';
-$database_dsn = 'mysql:host=localhost;dbname=zdravclinic;charset=utf8';
-$config_options = array (
-  'override_table' => 'MyISAM',
-);
-$driver_options = array (
-);
-
-$lastInstallTime = 1574165420;
-
-$site_id = 'modx5dd3dbac734012.30946136';
-$site_sessionname = 'SN5c94a5255d2ff';
-$https_port = '443';
-$uuid = '6744d5a2-8538-4d49-96d9-b235a8ecd940';
-
-if (!defined('MODX_CORE_PATH')) {
-    $modx_core_path = '/var/www/www-root/data/www/zdravclinic.ru/core/';
-    define('MODX_CORE_PATH', $modx_core_path);
-}
-if (!defined('MODX_PROCESSORS_PATH')) {
-    $modx_processors_path = '/var/www/www-root/data/www/zdravclinic.ru/core/model/modx/processors/';
-    define('MODX_PROCESSORS_PATH', $modx_processors_path);
-}
-if (!defined('MODX_CONNECTORS_PATH')) {
-    $modx_connectors_path = '/var/www/www-root/data/www/zdravclinic.ru/modconns/';
-    $modx_connectors_url= '/modconns/';
-    define('MODX_CONNECTORS_PATH', $modx_connectors_path);
-    define('MODX_CONNECTORS_URL', $modx_connectors_url);
-}
-if (!defined('MODX_MANAGER_PATH')) {
-    $modx_manager_path = '/var/www/www-root/data/www/zdravclinic.ru/M9ihGuA9/';
-    $modx_manager_url= '/M9ihGuA9/';
-    define('MODX_MANAGER_PATH', $modx_manager_path);
-    define('MODX_MANAGER_URL', $modx_manager_url);
-}
-if (!defined('MODX_BASE_PATH')) {
-    $modx_base_path = '/var/www/www-root/data/www/zdravclinic.ru/';
-    $modx_base_url= '/';
-    define('MODX_BASE_PATH', $modx_base_path);
-    define('MODX_BASE_URL', $modx_base_url);
-}
-if(defined('PHP_SAPI') && (PHP_SAPI == "cli" || PHP_SAPI == "embed")) {
-    $isSecureRequest = false;
-} else {
-    $isSecureRequest = ((isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off') || $_SERVER['SERVER_PORT'] == $https_port);
-}
-if (!defined('MODX_URL_SCHEME')) {
-    $url_scheme=  $isSecureRequest ? 'https://' : 'http://';
-    define('MODX_URL_SCHEME', $url_scheme);
-}
-if (!defined('MODX_HTTP_HOST')) {
-    if(defined('PHP_SAPI') && (PHP_SAPI == "cli" || PHP_SAPI == "embed")) {
-        $http_host='zdrav-clinic.ru';
-        define('MODX_HTTP_HOST', $http_host);
-    } else {
-        $http_host= array_key_exists('HTTP_HOST', $_SERVER) ? htmlspecialchars($_SERVER['HTTP_HOST'], ENT_QUOTES) : 'zdrav-clinic.ru';
-        if ($_SERVER['SERVER_PORT'] != 80) {
-            $http_host= str_replace(':' . $_SERVER['SERVER_PORT'], '', $http_host); // remove port from HTTP_HOST
-        }
-        $http_host .= ($_SERVER['SERVER_PORT'] == 80 || $isSecureRequest) ? '' : ':' . $_SERVER['SERVER_PORT'];
-        define('MODX_HTTP_HOST', $http_host);
-    }
-}
-if (!defined('MODX_SITE_URL')) {
-    $site_url= $url_scheme . $http_host . MODX_BASE_URL;
-    define('MODX_SITE_URL', $site_url);
-}
-if (!defined('MODX_ASSETS_PATH')) {
-    $modx_assets_path = '/var/www/www-root/data/www/zdravclinic.ru/assets/';
-    $modx_assets_url= '/assets/';
-    define('MODX_ASSETS_PATH', $modx_assets_path);
-    define('MODX_ASSETS_URL', $modx_assets_url);
-}
-if (!defined('MODX_LOG_LEVEL_FATAL')) {
-    define('MODX_LOG_LEVEL_FATAL', 0);
-    define('MODX_LOG_LEVEL_ERROR', 1);
-    define('MODX_LOG_LEVEL_WARN', 2);
-    define('MODX_LOG_LEVEL_INFO', 3);
-    define('MODX_LOG_LEVEL_DEBUG', 4);
-}
+<?php
+/**$database_password = 'HGdTjTBg%';
+ *  MODX Configuration file
+ */
+$database_type = 'mysql';
+$database_server = 'localhost';
+$database_user = 'zdravclinic';
+/*$database_password = 'ND7p*fya';*/
+$database_password = 'iL8oO6yG3u';
+$database_connection_charset = 'utf8';
+$dbase = 'zdravclinic';
+$table_prefix = 'modx_';
+$database_dsn = 'mysql:host=localhost;dbname=zdravclinic;charset=utf8';
+$config_options = array (
+  'override_table' => 'MyISAM',
+);
+$driver_options = array (
+);
+
+$lastInstallTime = 1574165420;
+
+$site_id = 'modx5dd3dbac734012.30946136';
+$site_sessionname = 'SN5c94a5255d2ff';
+$https_port = '443';
+$uuid = '6744d5a2-8538-4d49-96d9-b235a8ecd940';
+
+if (!defined('MODX_CORE_PATH')) {
+    $modx_core_path = '/var/www/www-root/data/www/zdravclinic.ru/core/';
+    define('MODX_CORE_PATH', $modx_core_path);
+}
+if (!defined('MODX_PROCESSORS_PATH')) {
+    $modx_processors_path = '/var/www/www-root/data/www/zdravclinic.ru/core/model/modx/processors/';
+    define('MODX_PROCESSORS_PATH', $modx_processors_path);
+}
+if (!defined('MODX_CONNECTORS_PATH')) {
+    $modx_connectors_path = '/var/www/www-root/data/www/zdravclinic.ru/modconns/';
+    $modx_connectors_url= '/modconns/';
+    define('MODX_CONNECTORS_PATH', $modx_connectors_path);
+    define('MODX_CONNECTORS_URL', $modx_connectors_url);
+}
+if (!defined('MODX_MANAGER_PATH')) {
+    $modx_manager_path = '/var/www/www-root/data/www/zdravclinic.ru/M9ihGuA9/';
+    $modx_manager_url= '/M9ihGuA9/';
+    define('MODX_MANAGER_PATH', $modx_manager_path);
+    define('MODX_MANAGER_URL', $modx_manager_url);
+}
+if (!defined('MODX_BASE_PATH')) {
+    $modx_base_path = '/var/www/www-root/data/www/zdravclinic.ru/';
+    $modx_base_url= '/';
+    define('MODX_BASE_PATH', $modx_base_path);
+    define('MODX_BASE_URL', $modx_base_url);
+}
+if(defined('PHP_SAPI') && (PHP_SAPI == "cli" || PHP_SAPI == "embed")) {
+    $isSecureRequest = false;
+} else {
+    $isSecureRequest = ((isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off') || $_SERVER['SERVER_PORT'] == $https_port);
+}
+if (!defined('MODX_URL_SCHEME')) {
+    $url_scheme=  $isSecureRequest ? 'https://' : 'http://';
+    define('MODX_URL_SCHEME', $url_scheme);
+}
+if (!defined('MODX_HTTP_HOST')) {
+    if(defined('PHP_SAPI') && (PHP_SAPI == "cli" || PHP_SAPI == "embed")) {
+        $http_host='zdrav-clinic.ru';
+        define('MODX_HTTP_HOST', $http_host);
+    } else {
+        $http_host= array_key_exists('HTTP_HOST', $_SERVER) ? htmlspecialchars($_SERVER['HTTP_HOST'], ENT_QUOTES) : 'zdrav-clinic.ru';
+        if ($_SERVER['SERVER_PORT'] != 80) {
+            $http_host= str_replace(':' . $_SERVER['SERVER_PORT'], '', $http_host); // remove port from HTTP_HOST
+        }
+        $http_host .= ($_SERVER['SERVER_PORT'] == 80 || $isSecureRequest) ? '' : ':' . $_SERVER['SERVER_PORT'];
+        define('MODX_HTTP_HOST', $http_host);
+    }
+}
+if (!defined('MODX_SITE_URL')) {
+    $site_url= $url_scheme . $http_host . MODX_BASE_URL;
+    define('MODX_SITE_URL', $site_url);
+}
+if (!defined('MODX_ASSETS_PATH')) {
+    $modx_assets_path = '/var/www/www-root/data/www/zdravclinic.ru/assets/';
+    $modx_assets_url= '/assets/';
+    define('MODX_ASSETS_PATH', $modx_assets_path);
+    define('MODX_ASSETS_URL', $modx_assets_url);
+}
+if (!defined('MODX_LOG_LEVEL_FATAL')) {
+    define('MODX_LOG_LEVEL_FATAL', 0);
+    define('MODX_LOG_LEVEL_ERROR', 1);
+    define('MODX_LOG_LEVEL_WARN', 2);
+    define('MODX_LOG_LEVEL_INFO', 3);
+    define('MODX_LOG_LEVEL_DEBUG', 4);
+}