소스 검색

Merge branch 'master' of bn.git:plabudda/se

Piotr Labudda 8 년 전
부모
커밋
7416173411
2개의 변경된 파일10개의 추가작업 그리고 3개의 파일을 삭제
  1. 10 3
      SE/stuff/scripts/debian/install_functions_and_events.php
  2. 0 0
      SE/superedit-SQIX_STRUCTURE_DB_SYNC.php

+ 10 - 3
SE/stuff/scripts/debian/install_functions_and_events.php

@@ -3,10 +3,17 @@
 error_reporting(E_ALL & ~E_NOTICE);
 $_SERVER['SERVER_NAME'] = gethostname();
 //require("/Library/Server/Web/Data/Sites/Default/dev-bzyk/se-lib/bootstrap.php");
-#require("/Library/Server/Web/Data/Sites/Default/SE/se-lib/bootstrap.php");
+require("/Library/Server/Web/Data/Sites/Default/SE/se-lib/bootstrap.php");
 date_default_timezone_set('Europe/Warsaw');
+require_once APP_PATH_ROOT . "/superedit-SEF.php";
+SEF('DEBUG_S');
+
+function die1($arg) {
+ echo "\n<br> ERROR!!! ".$arg." error ".mysql_error();
+ exit(1);
+}
 
 if (count($argv) != 2) die("Parameter error\n");
 if (!file_exists($file = $argv[1])) die("File not found\n");
-if (!($unserialzed = @unserialize(file_get_contents($file)))) die("Error while parsing file\n");
-DB::getDB()->STRUCTURE_GENERATE_PARSE($unserialize, []);
+if (!($unserialized = @unserialize(file_get_contents($file)))) die("Error while parsing file\n");
+DB::getDB()->STRUCTURE_GENERATE_PARSE($unserialized, []);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
SE/superedit-SQIX_STRUCTURE_DB_SYNC.php


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.