- Seme Framework
- Credits
- Version 3.1.5
- Issue
- Deployment
Install
Clone the repository to your directory, or Download framework on github as ZIP and then extract from archive.
Configuring
Go to app/config/config.php
and edit the file to suitable your choice.
File: config.php
There is default example for config.php in Seme Framework.
$site = "http://".$_SERVER['HTTP_HOST']."/";
$sene_method = "PATH_INFO";//REQUEST_URI,PATH_INFO,ORIG_PATH_INFO
$site
Change content of site variabel and then add slash on the last
Default value is "http://".$_SERVER['HTTP_HOST']."/"
.
$sene_method
If under default XAMPP config PATH_INFO is your best choice. But if in your production server, usually use REQUEST_URI.
This configuration will depend on .htaccess file.
Htaccess configuration
If you using apache web server, the apache configuration is the most important to working with this framework. Default configuration:
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]