浏览代码

代码调整

tags/6.0.2
tianya 5 年前
父节点
当前提交
8b3059bcff
共有 5 个文件被更改,包括 7 次插入7 次删除
  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 查看文件

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


if (substr(php_sapi_name(), 0, 3) === 'cgi') { 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") { if (count($argv) > 1 && $argv[1] == "serv") {
// PHP5.4以下不支持内建服务器 // PHP5.4以下不支持内建服务器
// 用于开发调试 // 用于开发调试
if (phpversion() < "5.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"; echo "Open http://localhost:8088\n\r";
passthru(PHP_BINARY . ' -S localhost:8088 -t' . escapeshellarg('./')); passthru(PHP_BINARY . ' -S localhost:8088 -t' . escapeshellarg('./'));
} }

+ 1
- 1
src/member/inc/inc_batchup.php 查看文件

@@ -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 查看文件

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


+ 1
- 1
src/member/inc/inc_list_functions.php 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存