Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lisha Project

Welcome to quick install manual

Install application files

Copy 3 following directories in your root web site directory

  • includes ( if includes directory already exists in your root web site, just add contents package to your own )
  • demo ( if exists )
  • $package_directory_name$

Unix rights

Setup rights to have read/write acces to your web directories

Import Database

  • Create your custom schema ( e.g. : lisha )
  • Import file MySQL_lisha.sql into this schema

Global lisha access setup

Go to web file directory : includes/lishaSetup/main_configuration.php and do the following

  1. Find line contains
define("__LISHA_DATABASE_SCHEMA__","lisha");	// Schema

then replace lisha by your own schema name

  1. Find line contains
define("__LISHA_DATABASE_USER__","adminl");		// user

then replace adminl by your own database user name

  1. Find line contains
define("__LISHA_DATABASE_PASSWORD__","demo");	// password

then replace demo by your own database user password


Demo access setup ( if demo only )

Go to web file directory : demo/includes/lishaSetup/main_configuration.php and do the following

  1. Find line contains
define("__LISHA_DATABASE_SCHEMA__","lisha");	// Schema

then replace lisha by your own schema name

  1. Find line contains
define("__LISHA_DATABASE_USER__","adminl");		// user

then replace adminl by your own database user name

  1. Find line contains
define("__LISHA_DATABASE_PASSWORD__","demo");	// password

then replace demo by your own database user password

To run demo : http://localhost/demo/


Setup technical documentation

Only if you have downloaded full package

Go to web file directory : $package_directory_name$/includes/MTSetup/setup.php and do the following

Find line contains

define("__MAGICTREE_DATABASE_SCHEMA__","lisha");	// Schema

then replace lisha by your own schema name

Find line contains

define("__MAGICTREE_DATABASE_USER__","adminl");		// user

then replace adminl by your own database user name

Find line contains

define("__MAGICTREE_DATABASE_PASSWORD__","demo");	// password

then replace demo by your own database user password

In your lisha custom file setup ( eg: demo/includes/LishaDefine/demo.php )

  1. Replace line
$obj_lisha_tran->define_attribute('__active_user_doc', false);		// user documentation button

by

$obj_lisha_tran->define_attribute('__active_user_doc', true);		// user documentation button
  1. Replace line
$obj_lisha_tran->define_attribute('__active_tech_doc', false);		// technical documentation button

by

$obj_lisha_tran->define_attribute('__active_tech_doc', true);		// technical documentation button
  1. Replace line
$obj_lisha_tran->define_attribute('__active_ticket', false);		// Tickets link

by

$obj_lisha_tran->define_attribute('__active_ticket', true);		// Tickets link
  1. Access

Url access to technical documentation

Url access to user documentation

Url access to tickets


Relative directory access to lisha

in demo/includes/LishaDefine/demo.php

Relative acces to your lisha is flag by 'xxxxxxxxxx'

here a part of my root weeb site ... demo ajax ... includes ... index.php <-- file that run my lisha ( source ) $package_directory_name$ <-- lisha framework ( destination ) ...

So to go from source to destination, i have to build relative path '../$package_directory_name$' or using constant '../'.LISHA_APPLICATION_RELEASE

To acces to lisha framework, replace following 'xxxxxxxxxx' by '../$package_directory_name$'

$_SESSION[$ssid]['lisha'][$lisha1_id] = new lisha(
													$lisha1_id,
													$ssid,
													__MYSQL__,
													array('user' => __LISHA_DATABASE_USER__,'password' => __LISHA_DATABASE_PASSWORD__,'host' => __LISHA_DATABASE_HOST__,'schema' => __LISHA_DATABASE_SCHEMA__),
													'xxxxxxxxxx',
													null,
													false,
													__LISHA_APPLICATION_RELEASE__
												);

Any question ? Go to https://sourceforge.net/projects/lisha/

About

liste handle

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages