stanley-king 1 年之前
父節點
當前提交
f5d1118825
共有 2 個文件被更改,包括 2 次插入7 次删除
  1. 2 2
      index.php
  2. 0 5
      info.php

+ 2 - 2
index.php

@@ -1,5 +1,5 @@
 <?php
 declare(strict_types=0);
 
-//$site_url = strtolower('http://'.$_SERVER['HTTP_HOST'].substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/index.php')).'/shop/index.php');
-//include('shop/index.php');
+$site_url = strtolower('http://'.$_SERVER['HTTP_HOST'].substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/index.php')).'/shop/index.php');
+include('admin/index.php');

+ 0 - 5
info.php

@@ -1,5 +0,0 @@
-<?php
-
-$x = 100;
-
-echo 'hell world ' . $x;