This commit is contained in:
flash 2015-03-25 10:59:10 +01:00
parent 96b5d71abc
commit bcf0e02d6b
9 changed files with 14 additions and 17 deletions

View file

@ -3,7 +3,7 @@
* Configuration Management
*/
namespace Flashii;
namespace Sakura;
class Configuration {

View file

@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
namespace Flashii;
namespace Sakura;
class Hashing {

View file

@ -3,7 +3,7 @@
* Main Class
*/
namespace Flashii;
namespace Sakura;
class Main {

View file

@ -3,7 +3,7 @@
* Session Handler
*/
namespace Flashii;
namespace Sakura;
class Session {

View file

@ -3,7 +3,7 @@
* MySQL PDO based database engine
*/
namespace Flashii;
namespace Sakura;
use PDO;
use PDOException;

View file

@ -4,14 +4,11 @@
* (c)Flashwave/Flashii Media 2013-2015 <http://flash.moe>
*/
// Declare Namespace
namespace Flashii;
// Start output buffering
ob_start();
// Define Sakura version
define('SAKURA_VERSION', '20150321');
define('SAKURA_VERSION', '20150325');
// Define Sakura Path
define('ROOT_DIRECTORY', str_replace('_sakura', '', dirname(__FILE__)));
@ -40,15 +37,15 @@ else
// Set Error handler
set_error_handler(array('Flashii\Main', 'ErrorHandler'));
set_error_handler(array('Sakura\Main', 'ErrorHandler'));
// Initialise Flashii Class
Main::init($fiiConf);
Sakura\Main::init($fiiConf);
// Set base page rendering data
$renderData = array(
'sakura' => [
'sakura_version' => SAKURA_VERSION,
'urls' => $fiiConf['urls']
'version' => SAKURA_VERSION,
'urls' => $fiiConf['urls']
]
);

View file

@ -2,7 +2,7 @@
</div>
<div class="footer">
<div class="ftsections">
<div class="copycentre">Copyright &copy; 2013-2015 <a href="http://flash.moe/" target="_blank">Flashwave</a> | Sakura Version {{ sakura_version }} | This is a development site, the actual site is located at <a href="http://flashii.net/">Flashii.net</a>.</div>
<div class="copycentre">Copyright &copy; 2013-2015 <a href="http://flash.moe/" target="_blank">Flashwave</a> | Sakura Version {{ sakura.version }} | This is a development site, the actual site is located at <a href="http://flashii.net/">Flashii.net</a>.</div>
<ul class="ftsection">
<li class="fthead">General</li>
<li><a href="http://{{ sakura.urls.main }}/" title="Flashii Frontpage">Home</a></li>
@ -38,4 +38,4 @@
</div>
</div>
</body>
</html>
</html>

View file

@ -4,7 +4,7 @@
*/
// Declare Namespace
namespace Flashii;
namespace Sakura;
// Include components
require_once('/var/www/flashii.net/_sakura/sakura.php');

View file

@ -4,7 +4,7 @@
*/
// Declare Namespace
namespace Flashii;
namespace Sakura;
// Include components
require_once('/var/www/flashii.net/_sakura/sakura.php');