php ? js ? html ? 문제가 뭘까요.. 자세히 첨부합니다. 도와주세요.. 채택완료
형진
11년 전
조회 7,288
어디서부터 설명을 드려야 할지 모르겠는데...
Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 PHP/4.4.9 Server at www.xxx.com Port 80 이런식으로 나오더군요..그래서 알아보니...
위에 내용은 index.php의 내용입니다.
위 내용은 link.js 파일입니다.
제가 듣고싶은 답변은 추가적인 페이지 생성을 하려면 어떻게 해야되는지를 알고싶습니다..혹시나 다른 코드를 보셔야 한다면 찾아서 올리겠습니다. 꼭 답변 부탁드립니다 (__)
홈페이지를 수정중에 있습니다.
보통 html파일을 ftp에 넣으면 홈페이지상에서 보여지기 마련인데요.
처음에 작업을 했을때 페이지가 나오지 않더라구요.
Not Found
The requested URL /public_html/htm/nest_cellculture_plates_01.html was not found on this server.
Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 PHP/4.4.9 Server at www.xxx.com Port 80 이런식으로 나오더군요..그래서 알아보니...

</span></address><address><address><span style="line-height: normal; font-style: normal"><?php</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">// +---------------------------------------------------------------------------+</span></address><address><span style="line-height: normal; font-style: normal">// | This file is part of the Mojavi package. |</span></address><address><span style="line-height: normal; font-style: normal">// | Copyright (c) 2003 Sean Kerr. |</span></address><address><span style="line-height: normal; font-style: normal">// | |</span></address><address><span style="line-height: normal; font-style: normal">// | For the full copyright and license information, please view the COPYRIGHT |</span></address><address><span style="line-height: normal; font-style: normal">// | file that was distributed with this source code. If the COPYRIGHT file is |</span></address><address><span style="line-height: normal; font-style: normal">// | missing, please visit the Mojavi homepage: <a href="http://www.mojavi.org" target="_blank" rel="noopener noreferrer">http://www.mojavi.org</a> |</span></address><address><span style="line-height: normal; font-style: normal">// +---------------------------------------------------------------------------+</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">/**</span></address><address><span style="line-height: normal; font-style: normal"> * INCLUDE config.php</span></address><address><span style="line-height: normal; font-style: normal"> */</span></address><address><span style="line-height: normal; font-style: normal">$HttpReferer=$_SERVER[HTTP_REFERER];</span></address><address><span style="line-height: normal; font-style: normal">require_once('../webapp/config.php');</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">/**</span></address><address><span style="line-height: normal; font-style: normal"> * INCLUDE CORE FILES AND CREATE CONTROLLER</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * All core Mojavi files are included here.</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * Note: This section of initialization must be performed after inclusion of the</span></address><address><span style="line-height: normal; font-style: normal"> * configuration file.</span></address><address><span style="line-height: normal; font-style: normal"> */</span></address><address><span style="line-height: normal; font-style: normal">require_once(MOJAVI_FILE);</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">$controller =& Controller::getInstance();</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">/**</span></address><address><span style="line-height: normal; font-style: normal"> * SECURITY SETTINGS</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * By default, a PrivilegeAuthorizationHandler is used. It requires the</span></address><address><span style="line-height: normal; font-style: normal"> * PrivilegeUser class. If you wish to provide custom authorization, you'll need</span></address><address><span style="line-height: normal; font-style: normal"> * to create a custom AuthorizationHandler and User.</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * The default security system checks only for user privileges. It is possible</span></address><address><span style="line-height: normal; font-style: normal"> * to extend User and check for Roles or whatever other method you have in mind.</span></address><address><span style="line-height: normal; font-style: normal"> * Please view the opt/auth/PrivilegeAuthorizationHandler and</span></address><address><span style="line-height: normal; font-style: normal"> * opt/user/PrivilegeUser classes for examples.</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * It's also possible to not use any security. Simply comment out the following</span></address><address><span style="line-height: normal; font-style: normal"> * security related code and you'll have a user with no security related data.</span></address><address><span style="line-height: normal; font-style: normal"> */</span></address><address><span style="line-height: normal; font-style: normal">require_once(AUTH_DIR . 'PrivilegeAuthorizationHandler.class.php');</span></address><address><span style="line-height: normal; font-style: normal">require_once(USER_DIR . 'PrivilegeUser.class.php');</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">$authHandler =& new PrivilegeAuthorizationHandler;</span></address><address><span style="line-height: normal; font-style: normal">$user =& new PrivilegeUser;</span></address><address><span style="line-height: normal; font-style: normal">$controller->setAuthorizationHandler($authHandler);</span></address><address><span style="line-height: normal; font-style: normal">$controller->setUser($user);</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">/**</span></address><address><span style="line-height: normal; font-style: normal"> * LOG SETTINGS</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * By default, a logger by the name of 'default' exists, which appends to</span></address><address><span style="line-height: normal; font-style: normal"> * stdout. You can add an additional appenders and/or remove the stdout</span></address><address><span style="line-height: normal; font-style: normal"> * appender.</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * Feel free to register other loggers as well. It's quite nice to have an</span></address><address><span style="line-height: normal; font-style: normal"> * additional event logger too, which uses custom log level's that describe</span></address><address><span style="line-height: normal; font-style: normal"> * system events.</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * Examples are provided below:</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * --- retrieve the default logger (this cannot be removed from LogManager)</span></address><address><span style="line-height: normal; font-style: normal"> * $deflog =& LogManager::getLogger();</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * --- log a warning</span></address><address><span style="line-height: normal; font-style: normal"> * --- only the message parameter is required for logging to the default logger</span></address><address><span style="line-height: normal; font-style: normal"> * $deflog->warning('This is a warning', 'MyClass', 'MyFunction', 'MyFile',</span></address><address><span style="line-height: normal; font-style: normal"> * 'MyLine');</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * --- add an additional appender which will log to a file parallel with stdout</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * --- use a PatternLayout to format the message</span></address><address><span style="line-height: normal; font-style: normal"> * $layout =& new PatternLayout('%N [%c:%F:%l] %m');</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * --- use a FileAppender to log to file using the pattern above</span></address><address><span style="line-height: normal; font-style: normal"> * --- write to log file LOG_DIR/mojavi_<date>.log</span></address><address><span style="line-height: normal; font-style: normal"> * --- FileAppender takes a %d date conversion character so you can write to</span></address><address><span style="line-height: normal; font-style: normal"> * --- dated log files</span></address><address><span style="line-height: normal; font-style: normal"> * require_once(LOGGING_DIR . 'FileAppender.class.php');</span></address><address><span style="line-height: normal; font-style: normal"> * $appender =& new FileAppender($layout, LOG_DIR . 'mojavi_%d{n_j_y}.log');</span></address><address><span style="line-height: normal; font-style: normal"> * $deflog->addAppender('file', $appender);</span></address><address><span style="line-height: normal; font-style: normal"> */</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">/**</span></address><address><span style="line-height: normal; font-style: normal"> * USER CONTAINER SETTINGS</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * By default, when sessions are enabled, a SessionContainer is used. When</span></address><address><span style="line-height: normal; font-style: normal"> * sessions are disabled an ArrayContainer is used. You only need to register</span></address><address><span style="line-height: normal; font-style: normal"> * a user container when you wish to provide a custom way of handling user</span></address><address><span style="line-height: normal; font-style: normal"> * persistence. More than likely, you will never have to register one.</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * Examples are provided below:</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * --- use a MyCustomContainer instead of SessionContainer</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * require_once('MyCustomContainer.class.php');</span></address><address><span style="line-height: normal; font-style: normal"> * $userContainer =& new MyCustomContainer;</span></address><address><span style="line-height: normal; font-style: normal"> * $user =& $controller->getUser();</span></address><address><span style="line-height: normal; font-style: normal"> * $user->setContainer($userContainer);</span></address><address><span style="line-height: normal; font-style: normal"> */</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">/**</span></address><address><span style="line-height: normal; font-style: normal"> * SESSION SETTINGS</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * By default, no session handler is used. You only need to register one if you</span></address><address><span style="line-height: normal; font-style: normal"> * wish to provide custom session storage.</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * Examples are provided below:</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * --- we'll use a PostgreSQL session handler so we can store sessions in a</span></address><address><span style="line-height: normal; font-style: normal"> * --- database</span></address><address><span style="line-height: normal; font-style: normal"> * require_once(SESSION_DIR . 'PgSQLSessionHandler.class.php');</span></address><address><span style="line-height: normal; font-style: normal"> * $sessHandler =& new PgSQLSessionHandler('user=USER password=PASS dbname=DB');</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * --- register our custom session handler with the controller</span></address><address><span style="line-height: normal; font-style: normal"> * $controller->setSessionHandler($sessHandler);</span></address><address><span style="line-height: normal; font-style: normal"> */</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">/**</span></address><address><span style="line-height: normal; font-style: normal"> * Remove this comment and the following die() statement once you have fully</span></address><address><span style="line-height: normal; font-style: normal"> * configured your Mojavi installation.</span></address><address><span style="line-height: normal; font-style: normal"> */</span></address><address><span style="line-height: normal; font-style: normal">//die('Please configure your Mojavi installation and remove this line from index.php.');</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">/**</span></address><address><span style="line-height: normal; font-style: normal"> * DISPATCH REQUEST</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * This tells the controller to handle the request.</span></address><address><span style="line-height: normal; font-style: normal"> *</span></address><address><span style="line-height: normal; font-style: normal"> * Note: This section of initialization must be performed last.</span></address><address><span style="line-height: normal; font-style: normal"> */</span></address><address><span style="line-height: normal; font-style: normal">$controller->dispatch();</span></address><address><span style="line-height: normal; font-style: normal">?></span></address><address><span style="line-height: normal; font-style: normal"> </span></address></address><address style="line-height: normal"><span style="font-style: normal">
</span></address><address><address><span style="line-height: normal; font-style: normal">function tm01() {location.href = "index.php";}</span></address><address><span style="line-height: normal; font-style: normal">function tm02() {location.href = "mailto:";}</span></address><address><span style="line-height: normal; font-style: normal">function tm03() {location.href = "?module=Html&action=SiteComp&sSubNo=8";}</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">function m10() {location.href = "?module=Html&action=SiteComp&sSubNo=1";}</span></address><address><span style="line-height: normal; font-style: normal">function m11() {location.href = "?module=Html&action=SiteComp&sSubNo=1";}</span></address><address><span style="line-height: normal; font-style: normal">function m12() {location.href = "?module=Html&action=SiteComp&sSubNo=2";}</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">function m20() {location.href = "?module=Html&action=SiteComp&sSubNo=3";}</span></address><address><span style="line-height: normal; font-style: normal">function m21() {location.href = "?module=Html&action=SiteComp&sSubNo=3";}</span></address><address><span style="line-height: normal; font-style: normal">function m22() {location.href = "?module=Html&action=SiteComp&sSubNo=4";}</span></address><address><span style="line-height: normal; font-style: normal">function m23() {location.href = "?module=Html&action=SiteComp&sSubNo=5";}</span></address><address><span style="line-height: normal; font-style: normal">function m24() {location.href = "?module=Board&action=SiteBoard&sMode=SELECT_FORM&iBrdNo=1";}</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">function m30() {location.href = "?module=Inquiry&action=SiteInquiry&iInquiryNo=1&sMode=INSERT_FORM";}</span></address><address><span style="line-height: normal; font-style: normal">function m31() {location.href = "?module=Inquiry&action=SiteInquiry&iInquiryNo=1&sMode=INSERT_FORM";}</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">function m40() {location.href = "?module=Html&action=SiteComp&sSubNo=6";}</span></address><address><span style="line-height: normal; font-style: normal">function m41() {location.href = "?module=Html&action=SiteComp&sSubNo=6";}</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">function m50() {location.href = "?module=Html&action=SiteComp&sSubNo=7";}</span></address><address><span style="line-height: normal; font-style: normal">function m51() {location.href = "?module=Html&action=SiteComp&sSubNo=7";}</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">function m60() {location.href = "?module=Html&action=SiteComp&sSubNo=8";}</span></address><address><span style="line-height: normal; font-style: normal">function m61() {location.href = "?module=Html&action=SiteComp&sSubNo=8";}</span></address><address><span style="line-height: normal; font-style: normal">
</span></address><address><span style="line-height: normal; font-style: normal">function m62() {location.href = "?module=Html&action=SiteComp&sSubNo=9";}</span></address></address><address style="line-height: normal"><span style="font-style: normal">
댓글을 작성하려면 로그인이 필요합니다.
답변 3개
채택된 답변
+20 포인트
11년 전
<div><div>function tm01() {location.href = "index.php";}</div>
<div>function tm02() {location.href = "mailto:";}</div>
<div>function tm03() {location.href = "?module=Html&action=SiteComp&sSubNo=8";}</div>
<div>
</div>
<div>function m10() {location.href = "?module=Html&action=SiteComp&sSubNo=1";}</div>
<div>function m11() {location.href = "?module=Html&action=SiteComp&sSubNo=1";}</div>
<div>function m12() {location.href = "?module=Html&action=SiteComp&sSubNo=2";}</div>
<div>
</div>
<div>
</div>
<div>function m20() {location.href = "?module=Html&action=SiteComp&sSubNo=3";}</div>
<div>function m21() {location.href = "?module=Html&action=SiteComp&sSubNo=3";}</div>
<div>function m22() {location.href = "?module=Html&action=SiteComp&sSubNo=4";}</div>
<div>function m23() {location.href = "?module=Html&action=SiteComp&sSubNo=5";}</div>
<div>function m24() {location.href = "?module=Board&action=SiteBoard&sMode=SELECT_FORM&iBrdNo=1";}</div>
<div>
</div>
<div>function m30() {location.href = "?module=Inquiry&action=SiteInquiry&iInquiryNo=1&sMode=INSERT_FORM";}</div>
<div>function m31() {location.href = "?module=Inquiry&action=SiteInquiry&iInquiryNo=1&sMode=INSERT_FORM";}</div>
<div>
</div>
<div>function m40() {location.href = "?module=Html&action=SiteComp&sSubNo=6";}</div>
<div>function m41() {location.href = "?module=Html&action=SiteComp&sSubNo=6";}</div>
<div>
</div>
<div>function m50() {location.href = "?module=Html&action=SiteComp&sSubNo=7";}</div>
<div>function m51() {location.href = "?module=Html&action=SiteComp&sSubNo=7";}</div>
<div>
</div>
<div>function m60() {location.href = "?module=Html&action=SiteComp&sSubNo=8";}</div>
<div>function m61() {location.href = "?module=Html&action=SiteComp&sSubNo=8";}</div>
<div>
</div>
<div>function m62() {location.href = "?module=Html&action=SiteComp&sSubNo=9";}</div>
<div>
위 내용은 link.js 파일 내용입니다.
제가 알고싶은건.. 추가적인 페이지를 생성할 수 있는 방법입니다..
플래시 템플릿을 그대로 쓴다고 가정하고 내용만 추가적인 페이지를 생성하고 싶을때 어떻게 해야 하는지 알고 싶습니다.
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
11년 전
Mojavi - an MVC framework for PHP
Mojavi 프레임워크네요.
저도 3년 좀 넘었지만, 그 프레임워크로 제작된 사이트를 모바일 만든다고 건드린적이 있는데, 구조를 몰라서 엄청 해맸던 기억이 나네요.
이제는 어떻게 건드렸는지 기억이 안나지만, ㅠ_ㅠ ( 죄송... )
구글에서 Mojavi php 라고 검색해 보시면 몇가지 힌트 정도는 나올겁니다.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 2개
�
형진
11년 전
t
thisgun
11년 전
저도 오래되서... 모릅니다 ㅠ_ㅠ;
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
[code]
<?php
/**
* An absolute file-system path to the webapp directory.
*/
define('ROOT_DIR', dirname(__FILE__).'/');
define('BASE_DIR', dirname(__FILE__).'/');
define('HttpReferer', $HttpReferer);
/**
* An absolute file-system path to the log directory.
*
* Note: This directory must be writable by any user.
*/
define('LOG_DIR', BASE_DIR . 'logs/');
/**
* An absolute file-system path to the all-in-one class file Mojavi
* uses.
*/
define('MOJAVI_FILE', ROOT_DIR.'../mojavi/mojavi-all-classes.php');
/**
* An absolute file-system path to the optional classes directory.
*/
define('OPT_DIR', ROOT_DIR.'../mojavi/opt/');
// ----- WEB DIRECTORIES AND PATHS -----
/**
* An absolute web path where modules can store public information such as
* images and CSS documents.
*/
define('WEB_MODULE_DIR', '/modpub/');
/**
* An absolute web path to the index.php script.
*/
define('SCRIPT_PATH', '');
// ----- ACCESSOR NAMES -----
/**
* The parameter name used to specify a module.
*/
define('MODULE_ACCESSOR', 'module');
/**
* The parameter name used to specify an action.
*/
define('ACTION_ACCESSOR', 'action');
// ----- MODULES AND ACTIONS -----
/**
* The action to be executed when an unauthenticated user makes a request for
* a secure action.
*/
define('AUTH_MODULE', 'Default');
define('AUTH_ACTION', 'GlobalSecure');
/**
* The action to be executed when a request is made that does not specify a
* module and action.
*/
define('DEFAULT_MODULE', 'Default');
define('DEFAULT_ACTION', 'Default');
/**
* The action to be executed when a request is made for a non-existent module
* or action.
*/
define('ERROR_404_MODULE', 'Default');
define('ERROR_404_ACTION', 'PageNotFound');
/**
* The action to be executed when an authenticated user makes a request for
* an action for which they do not possess the privilege.
*/
define('SECURE_MODULE', 'Default');
define('SECURE_ACTION', 'GlobalSecure');
//define('SECURE_ACTION', 'Login');
/**
* The action to be executed when the available status of the application
* is unavailable.
*/
define('UNAVAILABLE_MODULE', 'Default');
define('UNAVAILABLE_ACTION', 'Unavailable');
// ----- MISC. SETTINGS -----
/**
* Whether or not the web application is available or if it's out-of-service
* for any reason.
*/
define('AVAILABLE', TRUE);
/**
* Should typical PHP errors be displayed? This should be used only for
* development purposes.
*
* 1 = on, 0 = off
*/
define('DISPLAY_ERRORS', 1);
/**
* The associative array that may contain a key that holds path information
* for a request, and the key name.
*
* 1 = $_SERVER array
* 2 = $_ENV array
*
* Note: This only needs set if URL_FORMAT = 2.
*/
define('PATH_INFO_ARRAY', 1);
define('PATH_INFO_KEY', 'PATH_INFO');
/**
* The format in which URLs are generated.
*
* 1 = GET format
* 2 = PATH format
*
* GET format is ?key=value&key=value
* PATH format is /key/value/key/value
*
* Note: PATH format may required modifications to your webserver configuration.
*/
define('URL_FORMAT', 1);
/**
* Should we use sessions?
*/
define('USE_SESSIONS', TRUE);
/**
* smarty setting
*/
define('SMARTY_DIR', OPT_DIR.'smarty/libs/');
define('SMARTY_CACHING', false);
define('SMARTY_CACHE_DIR', BASE_DIR.'smarty/cache/');
define('SMARTY_CACHE_LIFETIME', 1);
define('SMARTY_COMPILE_DIR', BASE_DIR.'smarty/compile/');
define('SMARTY_FORCE_COMPILE', false);
define('SMARTY_DEBUG_TPL', BASE_DIR.'smarty/debug.tpl');
define('SMARTY_DEBUGGING_CTRL', 'NONE');
define('SMARTY_DEBUGGING', false);
/**
* adodb setting
*/
define('ADODB_DIR', OPT_DIR.'adodb/');
define('ADODB_CACHE_DIR', BASE_DIR.'adodb');
define('ADODB_CACHE_SECS', '0');
define('ADODB_DEBUG', false);
define('SQL_TYPE', 'mysql');
define('SQL_SERVER', 'localhost:3306');
define('SQL_USER', 'icellsci');
define('SQL_PASSWORD', 'icellsci7297');
define('SQL_DATABASE', 'icellsci');
ini_set("include_path", OPT_DIR."/pear");
/**
* UPLOAD FILE (BOARD)
*/
define('UPLOAD_FILE_DIR', '../public_html/upload_dir/board/');
define('UPLOAD_GOODS_DIR', ROOT_DIR.'../public_html/upload_dir/goods/');
define('UPLOAD_BOARD_DIR', ROOT_DIR.'../public_html/upload_dir/board/');
define('UPLOAD_INQUIRY_DIR' , ROOT_DIR.'../public_html/upload_dir/inquiry/');
defin
[/code]