Skip to content
Snippets Groups Projects
Commit 05eebb8c authored by Alexandre Bourget's avatar Alexandre Bourget
Browse files

WEBSITE: Oops, fix index.php. Use the good filename in get_git_hash() + protect.

Structure update (page_build, page_discuss, Build.txt).
Update Build.txt
parent 215dda4c
No related branches found
No related tags found
No related merge requests found
...@@ -2,22 +2,15 @@ ...@@ -2,22 +2,15 @@
Build notes Build notes
----------- ===========
sflphoned sflphoned
~~~~~~~~~ ---------
Instructions to build `sflphoned`: Instructions to build `sflphoned`:
---------------------------------
autoreconf --install
make
sudo make install
---------------------------------
dbus-c++-bindings dbus-c++-bindings
^^^^^^^^^^^^^^^^^ ~~~~~~~~~~~~~~~~~
Go to `libs/dbus` and run: Go to `libs/dbus` and run:
...@@ -32,7 +25,7 @@ NOTE: If you have `colorgcc`, configure will *fail* on `libeXpat`. Issue an `uns ...@@ -32,7 +25,7 @@ NOTE: If you have `colorgcc`, configure will *fail* on `libeXpat`. Issue an `uns
libiax2 libiax2
^^^^^^^ ~~~~~~~
Go to `libs/libiax2` and run: Go to `libs/libiax2` and run:
...@@ -43,11 +36,12 @@ sudo make install ...@@ -43,11 +36,12 @@ sudo make install
------------------------- -------------------------
the daemon the daemon
^^^^^^^^^^ ~~~~~~~~~~
Then, go to the root of the repository, and run: Then, go to the root of the repository, and run:
--------------------------------------------------- ---------------------------------------------------
autoreconf --install
./configure --prefix=/usr (or whatever your prefix) ./configure --prefix=/usr (or whatever your prefix)
make make
sudo make install sudo make install
...@@ -55,13 +49,13 @@ sudo make install ...@@ -55,13 +49,13 @@ sudo make install
sflphone-qt sflphone-qt
~~~~~~~~~~~ -----------
`sflphone-qt` is *deprecated* and should not be built anymore. `sflphone-qt` is *deprecated* and should not be built anymore.
sflphone-gtk sflphone-gtk
~~~~~~~~~~~~ ------------
Compile `sflphone-gtk` by running: Compile `sflphone-gtk` by running:
......
...@@ -30,6 +30,13 @@ if (isset($_REQUEST['img'])) { ...@@ -30,6 +30,13 @@ if (isset($_REQUEST['img'])) {
exit(); exit();
} }
if (isset($_REQUEST['file'])) {
include("header.php");
show_page($_REQUEST['file']);
include("footer.php");
exit();
}
$module = ''; $module = '';
// Default module: home // Default module: home
......
...@@ -241,7 +241,7 @@ function get_git_hash($file) { ...@@ -241,7 +241,7 @@ function get_git_hash($file) {
$output = array(); $output = array();
$cmd = "cd $GIT_REPOS; git-ls-tree $branch \"".git_filename($file)."\""; $cmd = "cd $GIT_REPOS; git-ls-tree $branch \"".git_filename($split[0])."\"";
$string = exec($cmd, $output); $string = exec($cmd, $output);
......
<h1>Build instructions</h1>
<?php show_page('Build.txt'); ?> <?php show_page('Build.txt'); ?>
<?php show_page('MailingLists.txt'); ?> <?php show_page('MailingLists.txt'); ?>
<?php show_page('IRC.txt'); ?> <?php show_page('IRC.txt'); ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment