Commit 05eebb8c authored by Alexandre Bourget's avatar Alexandre Bourget

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
......@@ -2,22 +2,15 @@
Build notes
-----------
===========
sflphoned
~~~~~~~~~
---------
Instructions to build `sflphoned`:
---------------------------------
autoreconf --install
make
sudo make install
---------------------------------
dbus-c++-bindings
^^^^^^^^^^^^^^^^^
~~~~~~~~~~~~~~~~~
Go to `libs/dbus` and run:
......@@ -32,7 +25,7 @@ NOTE: If you have `colorgcc`, configure will *fail* on `libeXpat`. Issue an `uns
libiax2
^^^^^^^
~~~~~~~
Go to `libs/libiax2` and run:
......@@ -43,11 +36,12 @@ sudo make install
-------------------------
the daemon
^^^^^^^^^^
~~~~~~~~~~
Then, go to the root of the repository, and run:
---------------------------------------------------
autoreconf --install
./configure --prefix=/usr (or whatever your prefix)
make
sudo make install
......@@ -55,13 +49,13 @@ sudo make install
sflphone-qt
~~~~~~~~~~~
-----------
`sflphone-qt` is *deprecated* and should not be built anymore.
sflphone-gtk
~~~~~~~~~~~~
------------
Compile `sflphone-gtk` by running:
......
......@@ -30,6 +30,13 @@ if (isset($_REQUEST['img'])) {
exit();
}
if (isset($_REQUEST['file'])) {
include("header.php");
show_page($_REQUEST['file']);
include("footer.php");
exit();
}
$module = '';
// Default module: home
......
......@@ -241,7 +241,7 @@ function get_git_hash($file) {
$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);
......
<h1>Build instructions</h1>
<?php show_page('Build.txt'); ?>
<?php show_page('MailingLists.txt'); ?>
<?php show_page('IRC.txt'); ?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment