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:
parent
9e11bfa4a6
commit
19f2f11ee8
229 changed files with 8492 additions and 24 deletions
|
@ -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') === '') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue