1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-15 19:42:08 +00:00

fix themes symlinks

This commit is contained in:
Nicolas Lœuillet 2015-01-28 13:58:12 +01:00
parent 9e11bfa4a6
commit 19f2f11ee8
229 changed files with 8492 additions and 24 deletions

View file

@ -104,23 +104,6 @@ final class Tools
return sha1($string . SALT);
}
/**
* Returns the correct header for a status code
*
* @param $status_code
*/
private static function _status($status_code)
{
if (strpos(php_sapi_name(), 'apache') !== false) {
header('HTTP/1.0 '.$status_code);
}
else {
header('Status: '.$status_code);
}
}
public static function generateToken()
{
if (ini_get('open_basedir') === '') {