cheese
version 1.3
치즈는 가벼운 PHP 프레임 워크입니다. 아래 지침을 따르십시오.
치즈를 설치하는 것은 두 가지 방법으로 수행 할 수 있습니다
[github.com/cheeseframework]로 가십시오.
git clone https://github.com/CheeseFramework/cheese <IfModule mod_rewrite.c>
Options -Multiviews
RewriteEngine On
RewriteBase /cheese/public
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
</IfModule>
기본적으로 RewriteBase는 /Cheese /Public으로 설정됩니다.
변경 :
<IfModule mod_rewrite.c>
Options -Multiviews
RewriteEngine On
RewriteBase /your_directory/public
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
</IfModule>
Config Directory로 이동하여 config.php 파일을 열고 편집 할 수 있습니다. 예:
// Database config section
define ( DB_HOST , ' localhost ' );
define ( DB_USER , ' root ' );
define ( DB_PASS , ' 123456 ' );
define ( DB_NAME , ' cheese ' );
// Site config section
define ( APPROOT , dirname ( dirname ( __FILE__ )));
define ( URLROOT , ' http://localhost/cheese ' );
define ( SITENAME , ' Welcome to Cheese ' );
define ( APPVERSION , ' v1.3.0 ' );
// Core control
define ( CONTROLLER , ' Pages ' );
define ( METHOD , ' index ' );
더 읽으십시오