Skip to content

Commit

Permalink
Remove unusued code
Browse files Browse the repository at this point in the history
  • Loading branch information
jerome.gasperi@cnes.fr committed Aug 29, 2014
1 parent 74df1d4 commit c59d7fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@

# Rewrite /a/b/c/etc. to index.php?RESToURL=/a/b/c/etc.
RewriteRule ^(.*)$ index.php?RESToURL=$1 [QSA,NC,L]

</IfModule>
3 changes: 1 addition & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* Autoload controllers and modules
*/
function autoload($className) {
foreach (array('resto/auth/', 'resto/controllers/', 'resto/core/', 'resto/modules/') as $current_dir) {
foreach (array('resto/controllers/', 'resto/core/', 'resto/modules/') as $current_dir) {
$path = $current_dir . sprintf('%s.php', $className);
if (file_exists($path)) {
include $path;
Expand All @@ -71,4 +71,3 @@ function autoload($className) {
* Create RESTo instance
*/
$resto = new Resto();
$resto->process();

0 comments on commit c59d7fa

Please sign in to comment.