Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix absolute path bug #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<div class="dialog-content"></div>
</div>
</body>
<script type="text/javascript" src="<?php echo APP_URL_ROOT;?>/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo APP_URL_ROOT;?>/js/prism.js"></script>
<script type="text/javascript" src="<?php echo APP_URL_ROOT;?>/js/prism-line-numbers.min.js"></script>
<script type="text/javascript" src="<?php echo APP_URL_ROOT;?>/js/prism-php.min.js"></script>
<script type="text/javascript" src="<?php echo APP_URL_ROOT;?>/js/index.js"></script>
<script type="text/javascript" src="/<?php echo APP_URL_ROOT;?>/js/jquery.min.js"></script>
<script type="text/javascript" src="/<?php echo APP_URL_ROOT;?>/js/prism.js"></script>
<script type="text/javascript" src="/<?php echo APP_URL_ROOT;?>/js/prism-line-numbers.min.js"></script>
<script type="text/javascript" src="/<?php echo APP_URL_ROOT;?>/js/prism-php.min.js"></script>
<script type="text/javascript" src="/<?php echo APP_URL_ROOT;?>/js/index.js"></script>
</html>
8 changes: 4 additions & 4 deletions head.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link rel="icon" type="image/x-icon" href="<?php echo APP_URL_ROOT;?>/img/favicon.png" />
<link rel="icon" type="image/x-icon" href="/<?php echo APP_URL_ROOT;?>/img/favicon.png" />
<title>upload-labs</title>
</head>
<link rel="stylesheet" type="text/css" href="<?php echo APP_URL_ROOT;?>/css/index.css">
<link rel="stylesheet" type="text/css" href="<?php echo APP_URL_ROOT;?>/css/prism.css">
<link rel="stylesheet" type="text/css" href="/<?php echo APP_URL_ROOT;?>/css/index.css">
<link rel="stylesheet" type="text/css" href="/<?php echo APP_URL_ROOT;?>/css/prism.css">
<body>
<div id="head">
<a href="<?php echo APP_URL_ROOT;?>/"><img src="<?php echo APP_URL_ROOT;?>/img/logo.png"/></a>
<a href="/<?php echo APP_URL_ROOT;?>/"><img src="/<?php echo APP_URL_ROOT;?>/img/logo.png"/></a>
<div id="head_menu">
<a id="handle_code" href="javascript:show_code()">显示源码</a>
<a href="javascript:get_prompt()">查看提示</a>
Expand Down
42 changes: 21 additions & 21 deletions menu.php
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<div id="menu">
<ul id="menulist">
<li><a id="Pass-01" href="<?php echo APP_URL_ROOT;?>/Pass-01/index.php">Pass-01</a></li>
<li><a id="Pass-02" href="<?php echo APP_URL_ROOT;?>/Pass-02/index.php">Pass-02</a></li>
<li><a id="Pass-03" href="<?php echo APP_URL_ROOT;?>/Pass-03/index.php">Pass-03</a></li>
<li><a id="Pass-04" href="<?php echo APP_URL_ROOT;?>/Pass-04/index.php">Pass-04</a></li>
<li><a id="Pass-05" href="<?php echo APP_URL_ROOT;?>/Pass-05/index.php">Pass-05</a></li>
<li><a id="Pass-06" href="<?php echo APP_URL_ROOT;?>/Pass-06/index.php">Pass-06</a></li>
<li><a id="Pass-07" href="<?php echo APP_URL_ROOT;?>/Pass-07/index.php">Pass-07</a></li>
<li><a id="Pass-08" href="<?php echo APP_URL_ROOT;?>/Pass-08/index.php">Pass-08</a></li>
<li><a id="Pass-09" href="<?php echo APP_URL_ROOT;?>/Pass-09/index.php">Pass-09</a></li>
<li><a id="Pass-10" href="<?php echo APP_URL_ROOT;?>/Pass-10/index.php">Pass-10</a></li>
<li><a id="Pass-11" href="<?php echo APP_URL_ROOT;?>/Pass-11/index.php">Pass-11</a></li>
<li><a id="Pass-12" href="<?php echo APP_URL_ROOT;?>/Pass-12/index.php">Pass-12</a></li>
<li><a id="Pass-13" href="<?php echo APP_URL_ROOT;?>/Pass-13/index.php">Pass-13</a></li>
<li><a id="Pass-14" href="<?php echo APP_URL_ROOT;?>/Pass-14/index.php">Pass-14</a></li>
<li><a id="Pass-15" href="<?php echo APP_URL_ROOT;?>/Pass-15/index.php">Pass-15</a></li>
<li><a id="Pass-16" href="<?php echo APP_URL_ROOT;?>/Pass-16/index.php">Pass-16</a></li>
<li><a id="Pass-17" href="<?php echo APP_URL_ROOT;?>/Pass-17/index.php">Pass-17</a></li>
<li><a id="Pass-18" href="<?php echo APP_URL_ROOT;?>/Pass-18/index.php">Pass-18</a></li>
<li><a id="Pass-19" href="<?php echo APP_URL_ROOT;?>/Pass-19/index.php">Pass-19</a></li>
<li><a id="Pass-20" href="<?php echo APP_URL_ROOT;?>/Pass-20/index.php">Pass-20</a></li>
<li><a id="Pass-21" href="<?php echo APP_URL_ROOT;?>/Pass-21/index.php">Pass-21</a></li>
<li><a id="Pass-01" href="/<?php echo APP_URL_ROOT;?>/Pass-01/index.php">Pass-01</a></li>
<li><a id="Pass-02" href="/<?php echo APP_URL_ROOT;?>/Pass-02/index.php">Pass-02</a></li>
<li><a id="Pass-03" href="/<?php echo APP_URL_ROOT;?>/Pass-03/index.php">Pass-03</a></li>
<li><a id="Pass-04" href="/<?php echo APP_URL_ROOT;?>/Pass-04/index.php">Pass-04</a></li>
<li><a id="Pass-05" href="/<?php echo APP_URL_ROOT;?>/Pass-05/index.php">Pass-05</a></li>
<li><a id="Pass-06" href="/<?php echo APP_URL_ROOT;?>/Pass-06/index.php">Pass-06</a></li>
<li><a id="Pass-07" href="/<?php echo APP_URL_ROOT;?>/Pass-07/index.php">Pass-07</a></li>
<li><a id="Pass-08" href="/<?php echo APP_URL_ROOT;?>/Pass-08/index.php">Pass-08</a></li>
<li><a id="Pass-09" href="/<?php echo APP_URL_ROOT;?>/Pass-09/index.php">Pass-09</a></li>
<li><a id="Pass-10" href="/<?php echo APP_URL_ROOT;?>/Pass-10/index.php">Pass-10</a></li>
<li><a id="Pass-11" href="/<?php echo APP_URL_ROOT;?>/Pass-11/index.php">Pass-11</a></li>
<li><a id="Pass-12" href="/<?php echo APP_URL_ROOT;?>/Pass-12/index.php">Pass-12</a></li>
<li><a id="Pass-13" href="/<?php echo APP_URL_ROOT;?>/Pass-13/index.php">Pass-13</a></li>
<li><a id="Pass-14" href="/<?php echo APP_URL_ROOT;?>/Pass-14/index.php">Pass-14</a></li>
<li><a id="Pass-15" href="/<?php echo APP_URL_ROOT;?>/Pass-15/index.php">Pass-15</a></li>
<li><a id="Pass-16" href="/<?php echo APP_URL_ROOT;?>/Pass-16/index.php">Pass-16</a></li>
<li><a id="Pass-17" href="/<?php echo APP_URL_ROOT;?>/Pass-17/index.php">Pass-17</a></li>
<li><a id="Pass-18" href="/<?php echo APP_URL_ROOT;?>/Pass-18/index.php">Pass-18</a></li>
<li><a id="Pass-19" href="/<?php echo APP_URL_ROOT;?>/Pass-19/index.php">Pass-19</a></li>
<li><a id="Pass-20" href="/<?php echo APP_URL_ROOT;?>/Pass-20/index.php">Pass-20</a></li>
<li><a id="Pass-21" href="/<?php echo APP_URL_ROOT;?>/Pass-21/index.php">Pass-21</a></li>
</ul>
</div>