Skip to content

t3ran13/core2

This branch is 2612 commits behind easterism/core2:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f720fed · Sep 30, 2014

History

26 Commits
Sep 23, 2014
Sep 23, 2014
Sep 30, 2014
Sep 29, 2014
Sep 23, 2014
Sep 23, 2014
Sep 23, 2014
Sep 30, 2014
Sep 29, 2014

Repository files navigation

core2

PHP framework for business application.

NOTE: Currently it's russian framework. So you'll get no way to translate any inner locutions. In the future the translator will be available as a system module.

Usage

  1. Put the sources inside core2 folder anywhere on your server.
  2. Create MySQL schema with db.sql
  3. Create admin user with the same password.
 INSERT INTO `core_users` (`u_login`, `u_pass`, `visible`, `is_admin_sw`) VALUES ('admin', 'ad7123ebca969de21e49c12a7d69ce25', 'Y', 'Y');
  1. Create index.php file. Make sure that core2 folder is available from its place.
 try {
 	require_once("core2/inc/classes/Error.php");
 	require_once("core2/inc/classes/Init.php");

 	$init = new Init();
 	$init->checkAuth();

 	echo $init->dispatch();
 } catch (Exception $e) {
 	Error::catchException($e);
 }
  1. Create conf.ini file near the index.php
 [production]
 database.params.host      = localhost
 database.params.port      = 3306
 database.params.dbname    = <database name>
 database.params.username  = admin
 database.params.password  = admin

About

php application framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published