Skip to content

Commit 4dc43da

Browse files
author
Phil Sturgeon
committed
Upgraded to CI 2.0 and made a small change that will finish page output once $this->response() has been called.
1 parent 0c01bb6 commit 4dc43da

File tree

144 files changed

+11275
-10340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+11275
-10340
lines changed

application/config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| http://example.com/
1212
|
1313
*/
14-
$config['base_url'] = "http://localhost/restserver/";
14+
$config['base_url'] = "http://localhost/classes/codeigniter-restserver/";
1515

1616
/*
1717
|--------------------------------------------------------------------------

application/config/database.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
$active_record = TRUE;
3939

4040
$db['default']['hostname'] = "localhost";
41-
$db['default']['username'] = "";
42-
$db['default']['password'] = "";
43-
$db['default']['database'] = "";
41+
$db['default']['username'] = "root";
42+
$db['default']['password'] = "password";
43+
$db['default']['database'] = "restserver";
4444
$db['default']['dbdriver'] = "mysql";
4545
$db['default']['dbprefix'] = "";
4646
$db['default']['pconnect'] = TRUE;
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2+
/*
3+
| -------------------------------------------------------------------
4+
| Foreign Characters
5+
| -------------------------------------------------------------------
6+
| This file contains an array of foreign characters for transliteration
7+
| conversion used by the Text helper
8+
|
9+
*/
10+
$foreign_characters = array('223' => "ss", // ß
11+
'224' => "a",
12+
'225' => "a",
13+
'226' => "a",
14+
'229' => "a",
15+
'227' => "ae",
16+
'230' => "ae",
17+
'228' => "ae",
18+
'231' => "c",
19+
'232' => "e", // è
20+
'233' => "e", // é
21+
'234' => "e", // ê
22+
'235' => "e", // ë
23+
'236' => "i",
24+
'237' => "i",
25+
'238' => "i",
26+
'239' => "i",
27+
'241' => "n",
28+
'242' => "o",
29+
'243' => "o",
30+
'244' => "o",
31+
'245' => "o",
32+
'246' => "oe", // ö
33+
'249' => "u",
34+
'250' => "u",
35+
'251' => "u",
36+
'252' => "ue", // ü
37+
'255' => "y",
38+
'257' => "aa",
39+
'269' => "ch",
40+
'275' => "ee",
41+
'291' => "gj",
42+
'299' => "ii",
43+
'311' => "kj",
44+
'316' => "lj",
45+
'326' => "nj",
46+
'353' => "sh",
47+
'363' => "uu",
48+
'382' => "zh",
49+
'256' => "aa",
50+
'268' => "ch",
51+
'274' => "ee",
52+
'290' => "gj",
53+
'298' => "ii",
54+
'310' => "kj",
55+
'315' => "lj",
56+
'325' => "nj",
57+
'352' => "sh",
58+
'362' => "uu",
59+
'381' => "zh",
60+
);
61+
62+
63+
/* End of file foreign_chars.php */
64+
/* Location: ./application/config/foreign_chars.php */

application/config/profiler.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2+
/*
3+
| -------------------------------------------------------------------------
4+
| Profiler Sections
5+
| -------------------------------------------------------------------------
6+
| This file lets you determine whether or not various sections of Profiler
7+
| data are displayed when the Profiler is enabled.
8+
| Please see the user guide for info:
9+
|
10+
| http://codeigniter.com/user_guide/general/profiling.html
11+
|
12+
*/
13+
14+
15+
16+
/* End of file profiler.php */
17+
/* Location: ./application/config/profiler.php */

application/config/rest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1+
<?php defined('BASEPATH') OR exit('No direct script access allowed');
22

33
/*
44
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)