Skip to content

Commit

Permalink
Merge branch 'esope_1.11' of github.com:Facyla/esope into esope_1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Facyla committed Dec 21, 2015
2 parents 8114de9 + b0439a0 commit b46047d
Show file tree
Hide file tree
Showing 10,801 changed files with 977,542 additions and 133,108 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 5 additions & 1 deletion README_ESOPE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Cette version est en cours de développement et s'appuie sur Elgg 1.9.7.


### Conception et maintenance
* Florian DANIEL aka Facyla / ITEMS International
* Florian DANIEL aka Facyla


### Principaux contributeurs
Expand Down Expand Up @@ -86,6 +86,10 @@ Cette version est en cours de développement et s'appuie sur Elgg 1.9.7.

Note : Si vous n'avez accès qu'à la racine web (par ex. sur un hébergement mutualisé), vous pouvez créer le dossier "data" dans ce répertoire et ajouter dans data/ un fichier .htaccess avec pour contenu : deny from all

Note développeurs : ESOPE est packagé en utilisant Composer.
- Plugins utilisant Composer : find ./mod/ -maxdepth 2 -name 'composer.json'
- Commande utilisée : composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader


### Sécurisation
De nombreuses mesures peuvent être prises du côté du serveur, notamment via la mise en place d'une connexion HTTPS (nécesite un certificat valide) et diverses options de configuration d'Apache.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@
"squizlabs/php_codesniffer": "~1.5",
"simpletest/simpletest": "~1.1"
}
}
}
168 changes: 94 additions & 74 deletions composer.lock

Large diffs are not rendered by default.

23 changes: 21 additions & 2 deletions esope_move_installation.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,14 @@ function get_input($variable, $default = '', $filter= true) {
// Execute query ?
$execute_query = get_input('execute_query', 'no');


if ($example) {
// DB settings
$db_server = 'localhost';
$db_name = 'esope_1.12';
$db_user = 'root';
$db_pass = 'root';
// Custom Elgg DB config
$prefix = '{$prefix}';
$prefix = 'elgg_';
// Web URL without trailing slash
$old_www = 'http://localhost/public/esope_1.11';
$new_www = 'http://localhost/public/esope_1.12';
Expand All @@ -72,6 +71,26 @@ function get_input($variable, $default = '', $filter= true) {
$new_datapath = '/var/www/esope_1.12-data/';
}


// @TODO : use DB config if available
if (include_once(dirname(__FILE__) . '/engine/settings.php')) {
global $CONFIG;
if (empty($db_server)) { $db_server = $CONFIG->dbhost; }
if (empty($db_name)) { $db_name = $CONFIG->dbname; }
if (empty($db_user)) { $db_user = $CONFIG->dbuser; }
if (empty($db_pass)) { $db_pass = $CONFIG->dbpass; }

if (empty($old_www)) { $old_www = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];; }
if (empty($new_www)) { $new_www = $old_www; }

if (empty($old_path)) { $old_path = dirname(__FILE__); }
if (empty($new_path)) { $new_path = dirname(__FILE__); }
if (empty($old_datapath)) { $old_datapath = dirname(__FILE__) . '-data'; }
if (empty($new_datapath)) { $new_datapath = dirname(__FILE__) . '-data'; }

if (empty($prefix)) { $prefix = $CONFIG->dbprefix; }
}

header('Content-Type: text/html; charset=utf-8');
?><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@

if (!$router->route($request)) {
forward('', '404');
}
}
453 changes: 224 additions & 229 deletions languages/fr.php

Large diffs are not rendered by default.

File renamed without changes.
1,420 changes: 1,420 additions & 0 deletions languages/fr_ESOPE_master.php

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions mod/aalborg_theme/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions mod/aalborg_theme/vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

require_once __DIR__ . '/composer' . '/autoload_real.php';

return ComposerAutoloaderInit8fd1a51951fad9c28cf3f01c8cd61d38::getLoader();
Loading

0 comments on commit b46047d

Please sign in to comment.