Browse Source

代码调整

tags/6.0.2
tianya 4 years ago
parent
commit
8b3059bcff
5 changed files with 7 additions and 7 deletions
  1. +3
    -3
      dedebiz
  2. +1
    -1
      src/member/inc/inc_batchup.php
  3. +1
    -1
      src/member/inc/inc_catalog_options.php
  4. +1
    -1
      src/member/inc/inc_list_functions.php
  5. +1
    -1
      src/member/inc/inc_pwd_functions.php

dedecms → dedebiz View File

@@ -14,16 +14,16 @@ $workDir = dirname(__FILE__) . "/src";
chdir($workDir);

if (substr(php_sapi_name(), 0, 3) === 'cgi') {
die("DedeCMS:needs php-cli to run\n\n");
die("DedeCMSV6:needs php-cli to run\n\n");
}

if (count($argv) > 1 && $argv[1] == "serv") {
// PHP5.4以下不支持内建服务器
// 用于开发调试
if (phpversion() < "5.4") {
die("DedeCMS:command web server not support\n\n");
die("DedeCMSV6:command web server not support\n\n");
}
echo "Start Dev Server For DedeCMS\n\r";
echo "Start Dev Server For DedeCMSV6\n\r";
echo "Open http://localhost:8088\n\r";
passthru(PHP_BINARY . ' -S localhost:8088 -t' . escapeshellarg('./'));
}

+ 1
- 1
src/member/inc/inc_batchup.php View File

@@ -1,4 +1,4 @@
<?php if (!defined('DEDEMEMBER')) exit("dedecms");
<?php if (!defined('DEDEMEMBER')) exit("dedebiz");
/**
* 文档操作处理函数
*


+ 1
- 1
src/member/inc/inc_catalog_options.php View File

@@ -9,7 +9,7 @@
* @license https://www.dedebiz.com/license
* @link https://www.dedebiz.com
*/
if (!defined('DEDEMEMBER')) exit("dedecms");
if (!defined('DEDEMEMBER')) exit("dedebiz");
/**
* 获取选项列表


+ 1
- 1
src/member/inc/inc_list_functions.php View File

@@ -1,4 +1,4 @@
<?php if (!defined('DEDEMEMBER')) exit("dedecms");
<?php if (!defined('DEDEMEMBER')) exit("dedebiz");
/**
* 模型列表函数
*


+ 1
- 1
src/member/inc/inc_pwd_functions.php View File

@@ -1,4 +1,4 @@
<?php if (!defined('DEDEMEMBER')) exit("dedecms");
<?php if (!defined('DEDEMEMBER')) exit("dedebiz");
/**
* 密码函数
*


Loading…
Cancel
Save