Skip to content

Commit

Permalink
Upgraded to CI 2.0 and made a small change that will finish page outp…
Browse files Browse the repository at this point in the history
…ut once $this->response() has been called.
  • Loading branch information
Phil Sturgeon committed Dec 6, 2010
1 parent 0c01bb6 commit 4dc43da
Show file tree
Hide file tree
Showing 144 changed files with 11,275 additions and 10,340 deletions.
2 changes: 1 addition & 1 deletion application/config/config.php
Expand Up @@ -11,7 +11,7 @@
| http://example.com/
|
*/
$config['base_url'] = "http://localhost/restserver/";
$config['base_url'] = "http://localhost/classes/codeigniter-restserver/";

/*
|--------------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions application/config/database.php
Expand Up @@ -38,9 +38,9 @@
$active_record = TRUE;

$db['default']['hostname'] = "localhost";
$db['default']['username'] = "";
$db['default']['password'] = "";
$db['default']['database'] = "";
$db['default']['username'] = "root";
$db['default']['password'] = "password";
$db['default']['database'] = "restserver";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
Expand Down
64 changes: 64 additions & 0 deletions application/config/foreign_chars.php
@@ -0,0 +1,64 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| Foreign Characters
| -------------------------------------------------------------------
| This file contains an array of foreign characters for transliteration
| conversion used by the Text helper
|
*/
$foreign_characters = array('223' => "ss", // ß
'224' => "a",
'225' => "a",
'226' => "a",
'229' => "a",
'227' => "ae",
'230' => "ae",
'228' => "ae",
'231' => "c",
'232' => "e", // è
'233' => "e", // é
'234' => "e", // ê
'235' => "e", // ë
'236' => "i",
'237' => "i",
'238' => "i",
'239' => "i",
'241' => "n",
'242' => "o",
'243' => "o",
'244' => "o",
'245' => "o",
'246' => "oe", // ö
'249' => "u",
'250' => "u",
'251' => "u",
'252' => "ue", // ü
'255' => "y",
'257' => "aa",
'269' => "ch",
'275' => "ee",
'291' => "gj",
'299' => "ii",
'311' => "kj",
'316' => "lj",
'326' => "nj",
'353' => "sh",
'363' => "uu",
'382' => "zh",
'256' => "aa",
'268' => "ch",
'274' => "ee",
'290' => "gj",
'298' => "ii",
'310' => "kj",
'315' => "lj",
'325' => "nj",
'352' => "sh",
'362' => "uu",
'381' => "zh",
);


/* End of file foreign_chars.php */
/* Location: ./application/config/foreign_chars.php */
17 changes: 17 additions & 0 deletions application/config/profiler.php
@@ -0,0 +1,17 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Profiler Sections
| -------------------------------------------------------------------------
| This file lets you determine whether or not various sections of Profiler
| data are displayed when the Profiler is enabled.
| Please see the user guide for info:
|
| http://codeigniter.com/user_guide/general/profiling.html
|
*/



/* End of file profiler.php */
/* Location: ./application/config/profiler.php */
2 changes: 1 addition & 1 deletion application/config/rest.php
@@ -1,4 +1,4 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
<?php defined('BASEPATH') OR exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 4dc43da

Please sign in to comment.