Znalazłem w archiwach coś, co może być pomocne. Są to miejsca, gdzie zamierzałem zmieniać ścieżki. Nie wiem czy te zapiski są kompletne, ale mogą być podstawą do dalszych działań. Dotyczą Joomla! 1.5.26. Być może coś nie jest poprawne, albo nie ujęte, gdyż mogłem jeszcze coś robić jak pojawiały się błędy i nie zapisałem. Obecnie nie dysponuję żadnym archiwum z tą przeróbką (gdy mija okres mojej opieki nad stroną przekazuję archiwa klientowi, a u siebie usuwam).
Pobawcie się najpierw na lokalu, aby nie wyłożyć Joomla!.
Kod PHP:
administrator/components/com_admin/tmpl/sysinfo_directory.php
Line 34: writableCell( 'administrator/backups' );
Line 35: writableCell( 'administrator/components' );
Line 36: writableCell( 'administrator/language' );
Line 42: writableCell( 'administrator/language/'.$alang );
Line 45: writableCell( 'administrator/modules' );
Line 46: writableCell( 'administrator/templates' );
administrator/components/com_content/models/article.xml
Line 4: <params addpath="/administrator/components/com_content/elements">
administrator/components/com_media/views/images/view.html.php
Line 38: if($app->getClientId() == 1) $append = 'administrator/';
administrator/components/com_media/views/imageslist/view.html.php
Line 39: if ($app->getClientId() == 1) $append = 'administrator/';
administrator/components/com_templates/admin.templates.html.php
Line 122: <td><?php $img_path = ($client->id == 1 ? JURI::root().'administrator' : $mainframe->getSiteURL() ).'/templates/'.$row->directory.'/template_thumbnail.png'; ?>
administrator/includes/application.php
//Do sprawdzenia Line 103: $router =& parent::getRouter('administrator');
administrator/includes/defines.php
//Bez zmian Line 27: define( 'JPATH_ADMINISTRATOR', JPATH_ROOT.DS.'administrator' );
administrator/templates/khepri/templateDetails.xml
Line 37: <param name="headerColor" type="folderlist" default="h_green" directory="administrator/templates/khepri/images" filter="^h_." hide_none="1" hide_default="1" label="Header Color" description="The color of the bar under the header" />
components/com_contact/views/category/tmpl/default.xml
Line 12: <url addpath="/administrator/components/com_contact/elements">
components/com_contact/views/contact/tmpl/default.xml
Line 12: <url addpath="/administrator/components/com_contact/elements">
components/com_content/views/article/tmpl/default.xml
Line 11: <url addpath="/administrator/components/com_content/elements">
components/com_newsfeeds/views/category/tmpl/default.xml
Line 11: <url addpath="/administrator/components/com_newsfeeds/elements">
components/com_newsfeeds/views/newsfeed/tmpl/default.xml
Line 11: <url addpath="/administrator/components/com_newsfeeds/elements">
components/com_poll/views/poll/tmpl/default.xml
Line 11: <url addpath="/administrator/components/com_poll/elements">
includes/defines.php
//Bez zmian Line 30: define( 'JPATH_ADMINISTRATOR', JPATH_ROOT.DS.'administrator' );
libraries/joomla/environment/uri.php
Line 237: $base['path'] .= '/administrator';
libraries/joomla/html/html/image.php
Line 131: if ( substr($directory, 0, 14 )== "/administrator" ) {
libraries/joomla/installer/adapters/language.php
//Bez zmian Line 71: if (!$this->_install('administrator', JPATH_ADMINISTRATOR, 1, $element)) {
modules/mod_banners/mod_banners.xml
Line 15: <params addpath="/administrator/components/com_banners/elements">
modules/mod_poll/mod_poll.xml
Line 15: <params addpath="/administrator/components/com_poll/elements">
plugins/search/content.php
Line 50: require_once(JPATH_SITE.DS.'administrator'.DS.'components'.DS.'com_search'.DS.'helpers'.DS.'search.php');
robots.txt
Line 2: Disallow: /administrator/
xmlrpc/includes/defines.php
//Bez zmian Line 26: define( 'JPATH_ADMINISTRATOR', JPATH_ROOT . DS . 'administrator' );
do tego jeszcze linki w bazie danych.
Przed instalacją nowych dodatków trzeba sprawdzać ścieżki w plikach i zmienić na właściwe.