/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/config/constants.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-30 12:02:31 UTC
  • mfrom: (85.1.28 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130530120231-ttqgqjqw2w8enn7g
Merged Ohlsons changes:
added function to get ssn and name for the registrationspages in the user model.
added the registrationpage for students.
edited the registration page for instructors
edited the css for both the registrationpages
minor fix to registration css

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 
2
 
 
3
/*
 
4
|--------------------------------------------------------------------------
 
5
| File and Directory Modes
 
6
|--------------------------------------------------------------------------
 
7
|
 
8
| These prefs are used when checking and setting modes when working
 
9
| with the file system.  The defaults are fine on servers with proper
 
10
| security, but you may wish (or even need) to change the values in
 
11
| certain environments (Apache running a separate process for each
 
12
| user, PHP under CGI with Apache suEXEC, etc.).  Octal values should
 
13
| always be used to set the mode correctly.
 
14
|
 
15
*/
 
16
define('FILE_READ_MODE', 0644);
 
17
define('FILE_WRITE_MODE', 0666);
 
18
define('DIR_READ_MODE', 0755);
 
19
define('DIR_WRITE_MODE', 0777);
 
20
 
 
21
/*
 
22
|--------------------------------------------------------------------------
 
23
| File Stream Modes
 
24
|--------------------------------------------------------------------------
 
25
|
 
26
| These modes are used when working with fopen()/popen()
 
27
|
 
28
*/
 
29
 
 
30
define('FOPEN_READ',                                                    'rb');
 
31
define('FOPEN_READ_WRITE',                                              'r+b');
 
32
define('FOPEN_WRITE_CREATE_DESTRUCTIVE',                'wb'); // truncates existing file data, use with care
 
33
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE',   'w+b'); // truncates existing file data, use with care
 
34
define('FOPEN_WRITE_CREATE',                                    'ab');
 
35
define('FOPEN_READ_WRITE_CREATE',                               'a+b');
 
36
define('FOPEN_WRITE_CREATE_STRICT',                             'xb');
 
37
define('FOPEN_READ_WRITE_CREATE_STRICT',                'x+b');
 
38
 
 
39
 
 
40
/* End of file constants.php */
 
41
/* Location: ./application/config/constants.php */
 
 
b'\\ No newline at end of file'