Welcome Guest, Not a member yet? Register   Sign In
Many duplicate files and folders while restoring archive of web app CI 2
#8

Most recent Notes: System Folder is $system_path = 'system/codeigniter';
$application_folder = 'system/pyrocms';
$addon_folder = 'addons';


\public_html\system\codeigniter:
folders: core; database; fonts; helpers;language; libraries; .htaccess file (just says deny from all) and index.html (directory access is forbidden)

These are the cleanest folders I've seen.
Inside core folder: Benchmark.php;Codeigniter.php;Common.php;Config.php;Controllers.php;Exceptions.php;Hooks.php;index.html;Input.php;Lang.php;Loader.php;Model.php;Output.php;Router.php;URI.php;Utf8.php


\public_html\system\pyrocms:
Has 18 folders; assets; cache; cache_client; config; controllers; core; errors; helpers; hooks; language; libraries; logs; migrations; modules; plugins; themes; views; widgets;
and index.html that is blank


public_html\system\pyrocms\controllers

only 3 controllers - all lower case admin.php; ajax.php; upgrade.php

public_html\system\pyrocms\config\routes.php

config folder has 25 files and there is no pages controller in controllers folder


$route['default_controller'] = 'pages';
$route['404_override'] = 'pages';

$route['admin/help/([a-zA-Z_-]+)'] = 'admin/help/$1';
$route['admin/([a-zA-Z_-]+)/(:any)'] = '$1/admin/$2';
$route['admin/(login|logout)'] = 'admin/$1';
$route['admin/([a-zA-Z_-]+)'] = '$1/admin/index';

$route['register'] = 'users/register';

$route['user/([\w]+)'] = 'users/profile/view/$1';
$route['my-profile'] = 'users/profile/in
Reply


Messages In This Thread
RE: Many duplicate files and folders while restoring archive of web app CI 2 - by cipyrocms - 02-13-2020, 03:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB