Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Emre Akay committed Sep 17, 2013
0 parents commit 74d4adb
Show file tree
Hide file tree
Showing 501 changed files with 87,740 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>linux_monitoring</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.aptana.editor.php.aptanaPhpBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.aptana.ide.core.unifiedBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.aptana.editor.php.phpNature</nature>
<nature>com.aptana.projects.webnature</nature>
</natures>
</projectDescription>
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This file was created by JetBrains PhpStorm 6.0.3 for binding GitHub repository
1 change: 1 addition & 0 deletions application/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Deny from all
1 change: 1 addition & 0 deletions application/cache/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deny from all
10 changes: 10 additions & 0 deletions application/cache/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>

<p>Directory access is forbidden.</p>

</body>
</html>
92 changes: 92 additions & 0 deletions application/config/aauth.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?php

if (!defined('BASEPATH'))
exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| Aauth Config
| -------------------------------------------------------------------
| A library Basic Authorization for CodeIgniter 2.x
*/


// Config variables

$config['aauth'] = array(
'login_page' => '/login',
// if user don't have permisssion to see the page he will be
// redirected the page spesificed below
'no_permission' => '/',
//name of admin group
'admin_group' => 'admin',
//the new user is added in it
'default_group' => 'default',
// public group , people who not logged in
'public_group' => 'public',
// The table which contains users
'users' => 'aauth_users',
// the group table
'groups' => 'aauth_groups',
//
'user_to_group' => 'aauth_user_to_group',
// permitions
'perms' => 'aauth_perms',
// perms to group
'perm_to_group' => 'aauth_perm_to_group',
// pm table
'pm' => 'aauth_pm',


// remember time // 60*60*24*3 (default 3 days)
'remember' => ' +3 days',

// pasword maximum char long (min is 4)
'max' => 13,

// it limits login attempts
'dos_protection' => true,

// login attempts time interval
// default 10 times in one minute
'try' => 10,

// system email.
'email' => 'emre@emreakay.com',
'name' => 'Emre Akay',
'subject' => 'Account Vertification',
'reset' => 'Pasword Reset',

// to register email verifitaion need? true / false
'verification' => true,

// error mesages
// change to your language

'email_taken' => 'E-mail is already taken',
'email_invalid' => 'E-mail invalid',
'pass_invalid' => 'Password invalid',
'name_invalid' => 'Name invalid',
'code' => 'Your code is: ',
'link' => ' or you can copy and paste falowing link http://localhost/vert/',

'remind' => 'If you want to reset your password click the copy and go the link below http://localhost/reset/',
'new_password' => 'Your new password is : ',

// no access
'no_access' => 'You dont have access.',

//
'wrong' => 'E-mail or Password is wrong.',
'exceeded' => 'Login try limit exceeded.',
'no_user' => 'User not Exist',
'group_exist' => 'Group already exists',

//info
'already_member' => 'User already member of group',
'already_perm' => 'Permission name already existed'

);


/* End of file autoload.php */
/* Location: ./application/config/autoload.php */
116 changes: 116 additions & 0 deletions application/config/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the framework as light-weight as possible only the
| absolute minimal resources are loaded by default. For example,
| the database is not connected to automatically since no assumption
| is made regarding whether you intend to use it. This file lets
| you globally define which systems you would like loaded with every
| request.
|
| -------------------------------------------------------------------
| Instructions
| -------------------------------------------------------------------
|
| These are the things you can load automatically:
|
| 1. Packages
| 2. Libraries
| 3. Helper files
| 4. Custom config files
| 5. Language files
| 6. Models
|
*/

/*
| -------------------------------------------------------------------
| Auto-load Packges
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
|
*/

$autoload['packages'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in the system/libraries folder
| or in your application/libraries folder.
|
| Prototype:
|
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
*/

$autoload['libraries'] = array('database','session');


/*
| -------------------------------------------------------------------
| Auto-load Helper Files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['helper'] = array('url', 'file');
*/

$autoload['helper'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Config files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['config'] = array('config1', 'config2');
|
| NOTE: This item is intended for use ONLY if you have created custom
| config files. Otherwise, leave it blank.
|
*/

$autoload['config'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Language files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['language'] = array('lang1', 'lang2');
|
| NOTE: Do not include the "_lang" part of your file. For example
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
*/

$autoload['language'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Models
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['model'] = array('model1', 'model2');
|
*/

$autoload['model'] = array();


/* End of file autoload.php */
/* Location: ./application/config/autoload.php */
Loading

0 comments on commit 74d4adb

Please sign in to comment.